summaryrefslogtreecommitdiffstats
path: root/lib/libypclnt
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2006-07-17 20:39:08 +0000
committerstefanf <stefanf@FreeBSD.org>2006-07-17 20:39:08 +0000
commitf16a2dfec05b81a72cc73b0a1ff783fd8c5f757b (patch)
tree27e2fe08b9b54d0ae30868d8fa35c1a27c721952 /lib/libypclnt
parent444a271f09b84aead81dff224512d650597cdfcc (diff)
downloadFreeBSD-src-f16a2dfec05b81a72cc73b0a1ff783fd8c5f757b.zip
FreeBSD-src-f16a2dfec05b81a72cc73b0a1ff783fd8c5f757b.tar.gz
Use variadic macros that comply with C99. Keep the GCC-style ones if
DEBUG is defined and GCC is used.
Diffstat (limited to 'lib/libypclnt')
-rw-r--r--lib/libypclnt/ypclnt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libypclnt/ypclnt.h b/lib/libypclnt/ypclnt.h
index 476981c..16efd97 100644
--- a/lib/libypclnt/ypclnt.h
+++ b/lib/libypclnt/ypclnt.h
@@ -56,7 +56,7 @@ int ypclnt_passwd(ypclnt_t *, const struct passwd *, const char *);
#if defined(DEBUG) && defined(__GNUC__)
#define YPCLNT_DEBUG(fmt...) warnx(__FUNCTION__ ": " fmt, ##fmt)
#else
-#define YPCLNT_DEBUG(fmt...)
+#define YPCLNT_DEBUG(...)
#endif
#endif
OpenPOWER on IntegriCloud