add static in function definition

like in function declaration
This commit is contained in:
Francois Perrad 2016-01-01 09:46:09 +01:00 committed by Matt Johnston
parent edea73b1f8
commit af87369cb3
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;