summaryrefslogtreecommitdiff
path: root/apps/netutils/thttpd
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-05-22 09:01:51 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-05-22 09:01:51 -0600
commit54f7552fbc21a3959636225bd8e80ba95fc6750c (patch)
tree9cc321d2ef1c24efd225f33840e2349bb6e4abd2 /apps/netutils/thttpd
parent34cc8f19dfc278d546a9dd8c00eebabe0bc3094d (diff)
downloadnuttx-54f7552fbc21a3959636225bd8e80ba95fc6750c.tar.gz
nuttx-54f7552fbc21a3959636225bd8e80ba95fc6750c.tar.bz2
nuttx-54f7552fbc21a3959636225bd8e80ba95fc6750c.zip
Change all variadic macros to C99 style
Diffstat (limited to 'apps/netutils/thttpd')
-rw-r--r--apps/netutils/thttpd/fdwatch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/netutils/thttpd/fdwatch.c b/apps/netutils/thttpd/fdwatch.c
index 8a578b40c..ba955f420 100644
--- a/apps/netutils/thttpd/fdwatch.c
+++ b/apps/netutils/thttpd/fdwatch.c
@@ -63,10 +63,10 @@
#ifdef CONFIG_THTTPD_FDWATCH_DEBUG
# ifdef CONFIG_CPP_HAVE_VARARGS
-# define fwdbg(format, arg...) ndbg(format, ##arg)
-# define fwlldbg(format, arg...) nlldbg(format, ##arg)
-# define fwvdbg(format, arg...) nvdbg(format, ##arg)
-# define fwllvdbg(format, arg...) nllvdbg(format, ##arg)
+# define fwdbg(format, ...) ndbg(format, ##__VA_ARGS__)
+# define fwlldbg(format, ...) nlldbg(format, ##__VA_ARGS__)
+# define fwvdbg(format, ...) nvdbg(format, ##__VA_ARGS__)
+# define fwllvdbg(format, ...) nllvdbg(format, ##__VA_ARGS__)
# else
# define fwdbg ndbg
# define fwlldbg nlldbg