summaryrefslogtreecommitdiff
path: root/apps/system/cle
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/system/cle
parent34cc8f19dfc278d546a9dd8c00eebabe0bc3094d (diff)
downloadpx4-nuttx-54f7552fbc21a3959636225bd8e80ba95fc6750c.tar.gz
px4-nuttx-54f7552fbc21a3959636225bd8e80ba95fc6750c.tar.bz2
px4-nuttx-54f7552fbc21a3959636225bd8e80ba95fc6750c.zip
Change all variadic macros to C99 style
Diffstat (limited to 'apps/system/cle')
-rw-r--r--apps/system/cle/cle.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/system/cle/cle.c b/apps/system/cle/cle.c
index 02c5efbd6..ca361c90c 100644
--- a/apps/system/cle/cle.c
+++ b/apps/system/cle/cle.c
@@ -107,15 +107,15 @@
#ifdef CONFIG_CPP_HAVE_VARARGS
# if CONFIG_SYSTEM_CLE_DEBUGLEVEL > 0
-# define cledbg(format, arg...) \
- syslog(EXTRA_FMT format EXTRA_ARG, ##arg)
+# define cledbg(format, ...) \
+ syslog(EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__)
# else
# define cledbg(x...)
# endif
# if CONFIG_SYSTEM_CLE_DEBUGLEVEL > 1
-# define clevdbg(format, arg...) \
- syslog(EXTRA_FMT format EXTRA_ARG, ##arg)
+# define clevdbg(format, ...) \
+ syslog(EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__)
# else
# define clevdbg(x...)
# endif