diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2001-07-06 14:37:13 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2001-07-06 14:37:13 +0000 |
commit | 88a155eb0e0435dc4a024f91dd9de3aaa397b80a (patch) | |
tree | 4fb5fb07d95ff2c6d0efd68c5862463597bed0e2 /sbin | |
parent | 6fe832b872c161e4877012a9470507e625992348 (diff) |
Style.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/isakmpd/app.c | 6 | ||||
-rw-r--r-- | sbin/isakmpd/connection.c | 4 | ||||
-rw-r--r-- | sbin/isakmpd/init.c | 4 | ||||
-rw-r--r-- | sbin/isakmpd/ipsec.c | 4 | ||||
-rw-r--r-- | sbin/isakmpd/timer.c | 6 | ||||
-rw-r--r-- | sbin/isakmpd/udp.c | 4 | ||||
-rw-r--r-- | sbin/isakmpd/ui.c | 6 |
7 files changed, 17 insertions, 17 deletions
diff --git a/sbin/isakmpd/app.c b/sbin/isakmpd/app.c index 2b82f0d3406..9621d4ce4d7 100644 --- a/sbin/isakmpd/app.c +++ b/sbin/isakmpd/app.c @@ -1,4 +1,4 @@ -/* $OpenBSD: app.c,v 1.6 1999/05/01 20:43:42 niklas Exp $ */ +/* $OpenBSD: app.c,v 1.7 2001/07/06 14:37:11 ho Exp $ */ /* $EOM: app.c,v 1.6 1999/05/01 20:21:06 niklas Exp $ */ /* @@ -52,7 +52,7 @@ int app_none = 0; /* Initialize applications. */ void -app_init () +app_init (void) { if (app_none) return; @@ -62,7 +62,7 @@ app_init () } void -app_handler () +app_handler (void) { sysdep_app_handler (app_socket); } diff --git a/sbin/isakmpd/connection.c b/sbin/isakmpd/connection.c index 326d4194001..8cbb0f12688 100644 --- a/sbin/isakmpd/connection.c +++ b/sbin/isakmpd/connection.c @@ -1,4 +1,4 @@ -/* $OpenBSD: connection.c,v 1.21 2001/07/05 12:36:49 ho Exp $ */ +/* $OpenBSD: connection.c,v 1.22 2001/07/06 14:37:11 ho Exp $ */ /* $EOM: connection.c,v 1.28 2000/11/23 12:21:18 niklas Exp $ */ /* @@ -90,7 +90,7 @@ TAILQ_HEAD (passive_head, connection_passive) connections_passive; * start. */ void -connection_init () +connection_init (void) { struct conf_list *conns, *attrs; struct conf_list_node *conn, *attr = NULL; diff --git a/sbin/isakmpd/init.c b/sbin/isakmpd/init.c index fe9b96228d5..fec847fa400 100644 --- a/sbin/isakmpd/init.c +++ b/sbin/isakmpd/init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init.c,v 1.16 2001/06/25 00:00:44 ho Exp $ */ +/* $OpenBSD: init.c,v 1.17 2001/07/06 14:37:11 ho Exp $ */ /* $EOM: init.c,v 1.25 2000/03/30 14:27:24 ho Exp $ */ /* @@ -62,7 +62,7 @@ #endif void -init () +init (void) { log_init (); app_init (); diff --git a/sbin/isakmpd/ipsec.c b/sbin/isakmpd/ipsec.c index 0e1226b1566..12db0d79fa6 100644 --- a/sbin/isakmpd/ipsec.c +++ b/sbin/isakmpd/ipsec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsec.c,v 1.53 2001/07/04 22:23:24 angelos Exp $ */ +/* $OpenBSD: ipsec.c,v 1.54 2001/07/06 14:37:11 ho Exp $ */ /* $EOM: ipsec.c,v 1.143 2000/12/11 23:57:42 niklas Exp $ */ /* @@ -637,7 +637,7 @@ ipsec_exchange_script (u_int8_t type) /* Initialize this DOI, requires doi_init to already have been called. */ void -ipsec_init () +ipsec_init (void) { doi_register (&ipsec_doi); } diff --git a/sbin/isakmpd/timer.c b/sbin/isakmpd/timer.c index bd474b62617..cbf5703e335 100644 --- a/sbin/isakmpd/timer.c +++ b/sbin/isakmpd/timer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: timer.c,v 1.7 2000/02/25 17:23:41 niklas Exp $ */ +/* $OpenBSD: timer.c,v 1.8 2001/07/06 14:37:11 ho Exp $ */ /* $EOM: timer.c,v 1.13 2000/02/20 19:58:42 niklas Exp $ */ /* @@ -46,7 +46,7 @@ static TAILQ_HEAD (event_list, event) events; void -timer_init () +timer_init (void) { TAILQ_INIT (&events); } @@ -69,7 +69,7 @@ timer_next_event (struct timeval **timeout) } void -timer_handle_expirations () +timer_handle_expirations (void) { struct timeval now; struct event *n; diff --git a/sbin/isakmpd/udp.c b/sbin/isakmpd/udp.c index 85478bbccc4..cd75fcca45f 100644 --- a/sbin/isakmpd/udp.c +++ b/sbin/isakmpd/udp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udp.c,v 1.43 2001/07/05 12:36:57 ho Exp $ */ +/* $OpenBSD: udp.c,v 1.44 2001/07/06 14:37:11 ho Exp $ */ /* $EOM: udp.c,v 1.57 2001/01/26 10:09:57 niklas Exp $ */ /* @@ -527,7 +527,7 @@ udp_report (struct transport *t) * for the generic case when we are the initiator. */ void -udp_init () +udp_init (void) { struct sockaddr_storage dflt_stor; struct sockaddr_in *dflt = (struct sockaddr_in *)&dflt_stor; diff --git a/sbin/isakmpd/ui.c b/sbin/isakmpd/ui.c index 76cd3dcd9b3..dc5f74b59a0 100644 --- a/sbin/isakmpd/ui.c +++ b/sbin/isakmpd/ui.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ui.c,v 1.19 2001/04/30 12:16:44 ho Exp $ */ +/* $OpenBSD: ui.c,v 1.20 2001/07/06 14:37:12 ho Exp $ */ /* $EOM: ui.c,v 1.43 2000/10/05 09:25:12 niklas Exp $ */ /* @@ -64,7 +64,7 @@ int ui_socket; /* Create and open the FIFO used for user control. */ void -ui_init () +ui_init (void) { struct stat st; @@ -323,7 +323,7 @@ ui_handle_command (char *line) * troubles with non-blocking fifos. */ void -ui_handler () +ui_handler (void) { static char *buf = 0; static char *p; |