Mercurial > dropbear
changeset 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 | 9da3e7b4fe55 |
children | 9169e4e7cbee |
files | cli-tcpfwd.c svr-main.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/cli-tcpfwd.c Fri Jan 01 09:40:24 2016 +0100 +++ b/cli-tcpfwd.c Fri Jan 01 09:46:09 2016 +0100 @@ -62,7 +62,7 @@ #ifdef ENABLE_CLI_ANYTCPFWD static void fwd_failed(const char* format, ...) ATTRIB_PRINTF(1,2); -void fwd_failed(const char* format, ...) +static void fwd_failed(const char* format, ...) { va_list param; va_start(param, format);