summaryrefslogtreecommitdiffhomepage
path: root/cli-tcpfwd.c
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2016-01-01 09:46:09 +0100
committerMatt Johnston <matt@ucc.asn.au>2016-03-16 22:41:19 +0800
commitaf87369cb32d4e967c389cce35f508817682f077 (patch)
tree776f1c93da3e48e476b07e686ac7b32bde7fb116 /cli-tcpfwd.c
parentedea73b1f8d517ca3d41caa0ba7632f95e5c8272 (diff)
add static in function definition
like in function declaration
Diffstat (limited to 'cli-tcpfwd.c')
-rw-r--r--cli-tcpfwd.c2
1 files changed, 1 insertions, 1 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);