comparison cli-tcpfwd.c @ 1275:d49bda490798

add static in function definition like in function declaration
author Francois Perrad <francois.perrad@gadz.org>
date Fri, 01 Jan 2016 09:46:09 +0100
parents 52a456a3add0
children 750ec4ec4cbe
comparison
equal deleted inserted replaced
1274:9da3e7b4fe55 1275:d49bda490798
60 }; 60 };
61 #endif 61 #endif
62 62
63 #ifdef ENABLE_CLI_ANYTCPFWD 63 #ifdef ENABLE_CLI_ANYTCPFWD
64 static void fwd_failed(const char* format, ...) ATTRIB_PRINTF(1,2); 64 static void fwd_failed(const char* format, ...) ATTRIB_PRINTF(1,2);
65 void fwd_failed(const char* format, ...) 65 static void fwd_failed(const char* format, ...)
66 { 66 {
67 va_list param; 67 va_list param;
68 va_start(param, format); 68 va_start(param, format);
69 69
70 if (cli_opts.exit_on_fwd_failure) { 70 if (cli_opts.exit_on_fwd_failure) {