From 54f7552fbc21a3959636225bd8e80ba95fc6750c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 22 May 2014 09:01:51 -0600 Subject: Change all variadic macros to C99 style --- apps/nshlib/nsh_console.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/nshlib') 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 -- cgit v1.2.3