mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 02:46:58 +00:00
add static in function definition
like in function declaration
This commit is contained in:
parent
edea73b1f8
commit
af87369cb3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user