diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2005-05-26 20:40:51 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2005-05-26 20:40:51 +0000 |
commit | 1fcbd7af8de19e60a7c005b9b6af1ac8d2fff895 (patch) | |
tree | de9e4bd920b34f73689a9d8d901811525be2bac0 | |
parent | d135d173c2e2d9b152d851493d3e7c9344ee7b83 (diff) |
Add ARGSUSED for lint, one comment for me
-rw-r--r-- | sbin/isakmpd/isakmpd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/isakmpd/isakmpd.c b/sbin/isakmpd/isakmpd.c index 0d41014b45c..517c94fbbe4 100644 --- a/sbin/isakmpd/isakmpd.c +++ b/sbin/isakmpd/isakmpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isakmpd.c,v 1.87 2005/05/03 14:03:11 moritz Exp $ */ +/* $OpenBSD: isakmpd.c,v 1.88 2005/05/26 20:40:50 hshoexer Exp $ */ /* $EOM: isakmpd.c,v 1.54 2000/10/05 09:28:22 niklas Exp $ */ /* @@ -230,6 +230,7 @@ parse_args(int argc, char *argv[]) pcap_file = PCAP_FILE_DEFAULT; } +/* ARGSUSED */ static void sighup(int sig) { @@ -318,6 +319,8 @@ daemon_shutdown(void) while ((sa = sa_find(phase1_sa_check, NULL))) sa_delete(sa, 1); + + /* We only want to do this once. */ sigtermed++; } if (transport_prio_sendqs_empty()) { @@ -336,6 +339,7 @@ daemon_shutdown(void) } /* Called on SIGTERM, SIGINT or by ui_shutdown_daemon(). */ +/* ARGSUSED */ void daemon_shutdown_now(int sig) { |