34c34
< * $P4: //depot/projects/openpam/include/security/openpam.h#12 $
---
> * $P4: //depot/projects/openpam/include/security/openpam.h#14 $
67a68
> int _item,
119c120,121
< void _openpam_log(int _level,
---
> void
> _openpam_log(int _level,
124c126
< #if defined(__STDC__) && (__STDC_VERSION__ > 199901L)
---
> #if defined(__STDC__) && (__STDC_VERSION__ >= 199901L)
127c129,132
< #elif defined(__GNUC__)
---
> #elif defined(__GNUC__) && (__GNUC__ >= 2) && (__GNUC_MINOR__ >= 95)
> #define openpam_log(lvl, fmt, ...) \
> _openpam_log((lvl), __func__, fmt, ##fmt)
> #elif defined(__GNUC__) && defined(__FUNCTION__)
129c134
< _openpam_log((lvl), __func__, ##fmt)
---
> _openpam_log((lvl), __FUNCTION__, ##fmt)
131c136,139
< extern openpam_log(int _level, const char *_format, ...);
---
> void
> openpam_log(int _level,
> const char *_format,
> ...);
192d199
< #if defined(__GNUC__) && !defined(__PIC__)
196c203,204
< #error Static linking is not supported on your platform
---
> #ifndef NO_STATIC_MODULES
> #define NO_STATIC_MODULES
197a206,207
> #endif
> #if defined(__GNUC__) && !defined(__PIC__) && !defined(NO_STATIC_MODULES)
< * $P4: //depot/projects/openpam/include/security/openpam.h#12 $
---
> * $P4: //depot/projects/openpam/include/security/openpam.h#14 $
67a68
> int _item,
119c120,121
< void _openpam_log(int _level,
---
> void
> _openpam_log(int _level,
124c126
< #if defined(__STDC__) && (__STDC_VERSION__ > 199901L)
---
> #if defined(__STDC__) && (__STDC_VERSION__ >= 199901L)
127c129,132
< #elif defined(__GNUC__)
---
> #elif defined(__GNUC__) && (__GNUC__ >= 2) && (__GNUC_MINOR__ >= 95)
> #define openpam_log(lvl, fmt, ...) \
> _openpam_log((lvl), __func__, fmt, ##fmt)
> #elif defined(__GNUC__) && defined(__FUNCTION__)
129c134
< _openpam_log((lvl), __func__, ##fmt)
---
> _openpam_log((lvl), __FUNCTION__, ##fmt)
131c136,139
< extern openpam_log(int _level, const char *_format, ...);
---
> void
> openpam_log(int _level,
> const char *_format,
> ...);
192d199
< #if defined(__GNUC__) && !defined(__PIC__)
196c203,204
< #error Static linking is not supported on your platform
---
> #ifndef NO_STATIC_MODULES
> #define NO_STATIC_MODULES
197a206,207
> #endif
> #if defined(__GNUC__) && !defined(__PIC__) && !defined(NO_STATIC_MODULES)