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/nshlib | |
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 'apps/nshlib')
-rw-r--r-- | apps/nshlib/nsh_console.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/nshlib/nsh_console.h b/apps/nshlib/nsh_console.h index b02c59dc6..8731b6bf1 100644 --- a/apps/nshlib/nsh_console.h +++ b/apps/nshlib/nsh_console.h @@ -63,7 +63,7 @@ #define nsh_exit(v,s) (v)->exit(v,s) #ifdef CONFIG_CPP_HAVE_VARARGS -# define nsh_output(v, fmt...) (v)->output(v, ##fmt) +# define nsh_output(v, ...) (v)->output(v, ##__VA_ARGS__) #else # define nsh_output vtbl->output #endif |