diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-05-22 09:01:51 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-05-22 09:01:51 -0600 |
commit | 54f7552fbc21a3959636225bd8e80ba95fc6750c (patch) | |
tree | 9cc321d2ef1c24efd225f33840e2349bb6e4abd2 /nuttx/libc | |
parent | 34cc8f19dfc278d546a9dd8c00eebabe0bc3094d (diff) | |
download | px4-nuttx-54f7552fbc21a3959636225bd8e80ba95fc6750c.tar.gz px4-nuttx-54f7552fbc21a3959636225bd8e80ba95fc6750c.tar.bz2 px4-nuttx-54f7552fbc21a3959636225bd8e80ba95fc6750c.zip |
Change all variadic macros to C99 style
Diffstat (limited to 'nuttx/libc')
-rw-r--r-- | nuttx/libc/misc/lib_dumpbuffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/libc/misc/lib_dumpbuffer.c b/nuttx/libc/misc/lib_dumpbuffer.c index bd908196d..e05c0ea4d 100644 --- a/nuttx/libc/misc/lib_dumpbuffer.c +++ b/nuttx/libc/misc/lib_dumpbuffer.c @@ -51,9 +51,9 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_ARCH_LOWPUTC -# define message(format, arg...) lowsyslog(format, ##arg) +# define message(format, ...) lowsyslog(format, ##__VA_ARGS__) # else -# define message(format, arg...) syslog(format, ##arg) +# define message(format, ...) syslog(format, ##__VA_ARGS__) # endif #else # ifdef CONFIG_ARCH_LOWPUTC |