Skip to content
Snippets Groups Projects
Commit af87369c authored by Francois Perrad's avatar Francois Perrad Committed by Matt Johnston
Browse files

add static in function definition

like in function declaration
parent edea73b1
Branches
Tags
No related merge requests found
......@@ -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;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment