diff options
author | Francois Perrad <francois.perrad@gadz.org> | 2016-01-01 09:46:09 +0100 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2016-03-16 22:41:19 +0800 |
commit | af87369cb32d4e967c389cce35f508817682f077 (patch) | |
tree | 776f1c93da3e48e476b07e686ac7b32bde7fb116 | |
parent | edea73b1f8d517ca3d41caa0ba7632f95e5c8272 (diff) |
add static in function definition
like in function declaration
-rw-r--r-- | cli-tcpfwd.c | 2 | ||||
-rw-r--r-- | svr-main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cli-tcpfwd.c b/cli-tcpfwd.c index c3a1350..03b4b92 100644 --- a/cli-tcpfwd.c +++ b/cli-tcpfwd.c @@ -62,7 +62,7 @@ static const struct ChanType cli_chan_tcplocal = { #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); @@ -104,7 +104,7 @@ static void main_inetd() { #endif /* INETD_MODE */ #ifdef NON_INETD_MODE -void main_noinetd() { +static void main_noinetd() { fd_set fds; unsigned int i, j; int val; |