Changeset 147 in openpam for trunk


Ignore:
Timestamp:
May 24, 2002, 2:27:09 PM (17 years ago)
Author:
Dag-Erling Smørgrav
Message:

GCC 3 is upon us.

Sponsored by: DARPA, NAI Labs

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/su/su.c

    r93 r147  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/bin/su/su.c#5 $
     34 * $P4: //depot/projects/openpam/bin/su/su.c#6 $
    3535 */
    3636
     
    4141#include <pwd.h>
    4242#include <stdio.h>
     43#include <stdlib.h>
    4344#include <syslog.h>
    4445#include <unistd.h>
  • trunk/include/security/openpam.h

    r129 r147  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/include/security/openpam.h#19 $
     34 * $P4: //depot/projects/openpam/include/security/openpam.h#20 $
    3535 */
    3636
     
    138138        ...);
    139139
    140 #if defined(__STDC__) && (__STDC_VERSION__ >= 199901L)
    141 #define openpam_log(lvl, fmt, ...) \
    142         _openpam_log((lvl), __func__, fmt, __VA_ARGS__)
     140#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
     141#define openpam_log(lvl, ...) \
     142        _openpam_log((lvl), __func__, __VA_ARGS__)
     143#elif defined(__GNUC__) && (__GNUC__ >= 3)
     144#define openpam_log(lvl, ...) \
     145        _openpam_log((lvl), __func__, __VA_ARGS__)
    143146#elif defined(__GNUC__) && (__GNUC__ >= 2) && (__GNUC_MINOR__ >= 95)
    144147#define openpam_log(lvl, fmt...) \
  • trunk/lib/pam_get_authtok.c

    r132 r147  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/lib/pam_get_authtok.c#17 $
     34 * $P4: //depot/projects/openpam/lib/pam_get_authtok.c#18 $
    3535 */
    3636
     
    3838
    3939#include <stdlib.h>
     40#include <string.h>
    4041
    4142#include <security/pam_appl.h>
Note: See TracChangeset for help on using the changeset viewer.