summaryrefslogtreecommitdiffstats
path: root/lib/libpam
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-05-01 15:08:55 +0000
committerdes <des@FreeBSD.org>2003-05-01 15:08:55 +0000
commit46c06a0c428abfad163803a5b50ecb38b7afda6e (patch)
tree251ba467033334ed768f1e3b80bef2a7fc88754c /lib/libpam
parent433d69dd5884fd0761dbe9eee0d63706785e4386 (diff)
downloadFreeBSD-src-46c06a0c428abfad163803a5b50ecb38b7afda6e.zip
FreeBSD-src-46c06a0c428abfad163803a5b50ecb38b7afda6e.tar.gz
Use C99-style varadic macros instead of the non-standard gcc syntax.
Diffstat (limited to 'lib/libpam')
-rw-r--r--lib/libpam/libpam/security/pam_mod_misc.h10
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
OpenPOWER on IntegriCloud