Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matt Johnston
dropbear
Commits
af87369c
Commit
af87369c
authored
Jan 01, 2016
by
Francois Perrad
Committed by
Matt Johnston
Mar 16, 2016
Browse files
add static in function definition
like in function declaration
parent
edea73b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
cli-tcpfwd.c
View file @
af87369c
...
...
@@ -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
);
...
...
svr-main.c
View file @
af87369c
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment