diff options
author | des <des@FreeBSD.org> | 2003-05-01 15:08:55 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2003-05-01 15:08:55 +0000 |
commit | 46c06a0c428abfad163803a5b50ecb38b7afda6e (patch) | |
tree | 251ba467033334ed768f1e3b80bef2a7fc88754c | |
parent | 433d69dd5884fd0761dbe9eee0d63706785e4386 (diff) | |
download | FreeBSD-src-46c06a0c428abfad163803a5b50ecb38b7afda6e.zip FreeBSD-src-46c06a0c428abfad163803a5b50ecb38b7afda6e.tar.gz |
Use C99-style varadic macros instead of the non-standard gcc syntax.
-rw-r--r-- | lib/libpam/libpam/security/pam_mod_misc.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libpam/libpam/security/pam_mod_misc.h b/lib/libpam/libpam/security/pam_mod_misc.h index 8e50ff6..22482d7 100644 --- a/lib/libpam/libpam/security/pam_mod_misc.h +++ b/lib/libpam/libpam/security/pam_mod_misc.h @@ -62,13 +62,13 @@ void _pam_verbose_error(pam_handle_t *, int, const char *, const char *, const char *, ...); __END_DECLS -#define PAM_LOG(args...) \ - openpam_log(PAM_LOG_DEBUG, ##args) +#define PAM_LOG(...) \ + openpam_log(PAM_LOG_DEBUG, __VA_ARGS__) -#define PAM_RETURN(arg) \ +#define PAM_RETURN(arg) \ return (arg) -#define PAM_VERBOSE_ERROR(args...) \ - _pam_verbose_error(pamh, flags, __FILE__, __FUNCTION__, ##args) +#define PAM_VERBOSE_ERROR(...) \ + _pam_verbose_error(pamh, flags, __FILE__, __FUNCTION__, __VA_ARGS__) #endif |