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 /apps/system/inifile | |
parent | 34cc8f19dfc278d546a9dd8c00eebabe0bc3094d (diff) | |
download | nuttx-54f7552fbc21a3959636225bd8e80ba95fc6750c.tar.gz nuttx-54f7552fbc21a3959636225bd8e80ba95fc6750c.tar.bz2 nuttx-54f7552fbc21a3959636225bd8e80ba95fc6750c.zip |
Change all variadic macros to C99 style
Diffstat (limited to 'apps/system/inifile')
-rw-r--r-- | apps/system/inifile/inifile.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/system/inifile/inifile.c b/apps/system/inifile/inifile.c index 9f196e558..d82c4f127 100644 --- a/apps/system/inifile/inifile.c +++ b/apps/system/inifile/inifile.c @@ -62,15 +62,15 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # if CONFIG_SYSTEM_INIFILE_DEBUGLEVEL > 0 -# define inidbg(format, arg...) \ - printf(EXTRA_FMT format EXTRA_ARG, ##arg) +# define inidbg(format, ...) \ + printf(EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) # else # define inidbg(x...) # endif # if CONFIG_SYSTEM_INIFILE_DEBUGLEVEL > 1 -# define inivdbg(format, arg...) \ - printf(EXTRA_FMT format EXTRA_ARG, ##arg) +# define inivdbg(format, ...) \ + printf(EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) # else # define inivdbg(x...) # endif |