diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-13 20:41:15 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-13 20:41:15 +0000 |
commit | 8fcf78b288ccd7b30e9d03613e3ada5f9fcf5183 (patch) | |
tree | 3ffd2af263712ac00720174b619a62b6ad12dc43 /usr.bin/ftp/ftp.c | |
parent | 3bb82bfd40ecb113eabe1d150d088605332006b2 (diff) |
protos
Diffstat (limited to 'usr.bin/ftp/ftp.c')
-rw-r--r-- | usr.bin/ftp/ftp.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/usr.bin/ftp/ftp.c b/usr.bin/ftp/ftp.c index 9e895a02f59..8bfb5ed3f40 100644 --- a/usr.bin/ftp/ftp.c +++ b/usr.bin/ftp/ftp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ftp.c,v 1.82 2012/04/30 13:41:26 haesbaert Exp $ */ +/* $OpenBSD: ftp.c,v 1.83 2013/11/13 20:41:14 deraadt Exp $ */ /* $NetBSD: ftp.c,v 1.27 1997/08/18 10:20:23 lukem Exp $ */ /* @@ -378,8 +378,8 @@ static char noop[] = "NOOP\r\n"; static int current_nop_pos = 0; /* 0 -> no noop started */ /* to achieve keep alive, we send noop one byte at a time */ -void -send_noop_char() +static void +send_noop_char(void) { #ifndef SMALL if (debug) @@ -393,15 +393,15 @@ send_noop_char() } } -void -may_reset_noop_timeout() +static void +may_reset_noop_timeout(void) { if (keep_alive_timeout != 0) last_timestamp = time(NULL); } -void -may_receive_noop_ack() +static void +may_receive_noop_ack(void) { int i; @@ -429,8 +429,8 @@ may_receive_noop_ack() full_noops_sent = 0; } -void -may_send_noop_char() +static void +may_send_noop_char(void) { if (keep_alive_timeout != 0) { if (last_timestamp != 0) { @@ -2047,7 +2047,7 @@ gunique(const char *local) jmp_buf forceabort; /* ARGSUSED */ -void +static void abortforce(int signo) { fputs("Forced abort. The connection will be closed.\n", ttyout); |