diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2002-06-07 21:59:23 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2002-06-07 21:59:23 +0000 |
commit | 1fcdfd76bdea6ca2d52b6e0e74e1a13364870fa6 (patch) | |
tree | d0b82a0f066bf01fb45ea989269c079c748081b9 /sbin | |
parent | ef1143a8d0351470191130ac7a935e01bdbc6035 (diff) |
Avoid some gcc3 warnings. From David Krause <openbsd@davidkrause.com>
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/isakmpd/ike_quick_mode.c | 3 | ||||
-rw-r--r-- | sbin/isakmpd/isakmp_cfg.c | 3 | ||||
-rw-r--r-- | sbin/isakmpd/transport.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/sbin/isakmpd/ike_quick_mode.c b/sbin/isakmpd/ike_quick_mode.c index 51461f392c2..a8030e0d317 100644 --- a/sbin/isakmpd/ike_quick_mode.c +++ b/sbin/isakmpd/ike_quick_mode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ike_quick_mode.c,v 1.61 2002/06/06 02:15:27 ho Exp $ */ +/* $OpenBSD: ike_quick_mode.c,v 1.62 2002/06/07 21:59:22 ho Exp $ */ /* $EOM: ike_quick_mode.c,v 1.139 2001/01/26 10:43:17 niklas Exp $ */ /* @@ -1651,6 +1651,7 @@ responder_recv_HASH_SA_NONCE (struct message *msg) retval = 0; next_sa: + ; /* XXX gcc3 wants this. */ } if (kep) diff --git a/sbin/isakmpd/isakmp_cfg.c b/sbin/isakmpd/isakmp_cfg.c index e2c9bb8d61c..46f1e8e6b42 100644 --- a/sbin/isakmpd/isakmp_cfg.c +++ b/sbin/isakmpd/isakmp_cfg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isakmp_cfg.c,v 1.11 2002/06/07 20:26:22 ho Exp $ */ +/* $OpenBSD: isakmp_cfg.c,v 1.12 2002/06/07 21:59:22 ho Exp $ */ /* * Copyright (c) 2001 Niklas Hallqvist. All rights reserved. @@ -833,6 +833,7 @@ cfg_responder_send_ATTR (struct message *msg) break; default: + break; } SET_ISAKMP_ATTR_LENGTH_VALUE (attrp + off, attr->length); } diff --git a/sbin/isakmpd/transport.c b/sbin/isakmpd/transport.c index a178e0327e5..b2441dd5e3a 100644 --- a/sbin/isakmpd/transport.c +++ b/sbin/isakmpd/transport.c @@ -1,4 +1,4 @@ -/* $OpenBSD: transport.c,v 1.16 2001/10/26 11:37:16 ho Exp $ */ +/* $OpenBSD: transport.c,v 1.17 2002/06/07 21:59:22 ho Exp $ */ /* $EOM: transport.c,v 1.43 2000/10/10 12:36:39 provos Exp $ */ /* @@ -37,6 +37,7 @@ #include <sys/param.h> #include <sys/queue.h> +#include <string.h> #include "sysdep.h" |