diff options
Diffstat (limited to 'serverloop.c')
-rw-r--r-- | serverloop.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/serverloop.c b/serverloop.c index 024c54bc3..c8187ab20 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: serverloop.c,v 1.45 2001/02/04 15:32:25 stevesk Exp $"); | 38 | RCSID("$OpenBSD: serverloop.c,v 1.46 2001/02/08 19:30:52 itojun Exp $"); |
39 | 39 | ||
40 | #include "xmalloc.h" | 40 | #include "xmalloc.h" |
41 | #include "packet.h" | 41 | #include "packet.h" |
@@ -119,7 +119,7 @@ sigchld_handler2(int sig) | |||
119 | * to the client. | 119 | * to the client. |
120 | */ | 120 | */ |
121 | void | 121 | void |
122 | make_packets_from_stderr_data() | 122 | make_packets_from_stderr_data(void) |
123 | { | 123 | { |
124 | int len; | 124 | int len; |
125 | 125 | ||
@@ -148,7 +148,7 @@ make_packets_from_stderr_data() | |||
148 | * client. | 148 | * client. |
149 | */ | 149 | */ |
150 | void | 150 | void |
151 | make_packets_from_stdout_data() | 151 | make_packets_from_stdout_data(void) |
152 | { | 152 | { |
153 | int len; | 153 | int len; |
154 | 154 | ||
@@ -352,7 +352,7 @@ process_output(fd_set * writeset) | |||
352 | * This is used when the program terminates. | 352 | * This is used when the program terminates. |
353 | */ | 353 | */ |
354 | void | 354 | void |
355 | drain_output() | 355 | drain_output(void) |
356 | { | 356 | { |
357 | /* Send any buffered stdout data to the client. */ | 357 | /* Send any buffered stdout data to the client. */ |
358 | if (buffer_len(&stdout_buffer) > 0) { | 358 | if (buffer_len(&stdout_buffer) > 0) { |
@@ -377,7 +377,7 @@ drain_output() | |||
377 | } | 377 | } |
378 | 378 | ||
379 | void | 379 | void |
380 | process_buffered_input_packets() | 380 | process_buffered_input_packets(void) |
381 | { | 381 | { |
382 | dispatch_run(DISPATCH_NONBLOCK, NULL, NULL); | 382 | dispatch_run(DISPATCH_NONBLOCK, NULL, NULL); |
383 | } | 383 | } |
@@ -882,7 +882,7 @@ server_input_global_request(int type, int plen, void *ctxt) | |||
882 | } | 882 | } |
883 | 883 | ||
884 | void | 884 | void |
885 | server_init_dispatch_20() | 885 | server_init_dispatch_20(void) |
886 | { | 886 | { |
887 | debug("server_init_dispatch_20"); | 887 | debug("server_init_dispatch_20"); |
888 | dispatch_init(&dispatch_protocol_error); | 888 | dispatch_init(&dispatch_protocol_error); |
@@ -898,7 +898,7 @@ server_init_dispatch_20() | |||
898 | dispatch_set(SSH2_MSG_GLOBAL_REQUEST, &server_input_global_request); | 898 | dispatch_set(SSH2_MSG_GLOBAL_REQUEST, &server_input_global_request); |
899 | } | 899 | } |
900 | void | 900 | void |
901 | server_init_dispatch_13() | 901 | server_init_dispatch_13(void) |
902 | { | 902 | { |
903 | debug("server_init_dispatch_13"); | 903 | debug("server_init_dispatch_13"); |
904 | dispatch_init(NULL); | 904 | dispatch_init(NULL); |
@@ -913,7 +913,7 @@ server_init_dispatch_13() | |||
913 | dispatch_set(SSH_MSG_PORT_OPEN, &channel_input_port_open); | 913 | dispatch_set(SSH_MSG_PORT_OPEN, &channel_input_port_open); |
914 | } | 914 | } |
915 | void | 915 | void |
916 | server_init_dispatch_15() | 916 | server_init_dispatch_15(void) |
917 | { | 917 | { |
918 | server_init_dispatch_13(); | 918 | server_init_dispatch_13(); |
919 | debug("server_init_dispatch_15"); | 919 | debug("server_init_dispatch_15"); |
@@ -921,7 +921,7 @@ server_init_dispatch_15() | |||
921 | dispatch_set(SSH_MSG_CHANNEL_CLOSE_CONFIRMATION, &channel_input_oclose); | 921 | dispatch_set(SSH_MSG_CHANNEL_CLOSE_CONFIRMATION, &channel_input_oclose); |
922 | } | 922 | } |
923 | void | 923 | void |
924 | server_init_dispatch() | 924 | server_init_dispatch(void) |
925 | { | 925 | { |
926 | if (compat20) | 926 | if (compat20) |
927 | server_init_dispatch_20(); | 927 | server_init_dispatch_20(); |