summaryrefslogtreecommitdiff
path: root/sbin/photurisd/kernel.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-07 18:26:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-07 18:26:23 +0000
commitbca8ede36193523f5e509e218d1976dc9b8386e2 (patch)
tree8021052d902e951ea77cf9a839e25b3062a6b5bc /sbin/photurisd/kernel.c
parentf450dee1afdaa407e9eb35b9d02efd9642a245fa (diff)
major -Wall cleanup, almost complete
Diffstat (limited to 'sbin/photurisd/kernel.c')
-rw-r--r--sbin/photurisd/kernel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/photurisd/kernel.c b/sbin/photurisd/kernel.c
index b3c2784a300..32b424b164c 100644
--- a/sbin/photurisd/kernel.c
+++ b/sbin/photurisd/kernel.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kernel.c,v 1.23 2001/06/27 03:31:46 angelos Exp $ */
+/* $OpenBSD: kernel.c,v 1.24 2001/07/07 18:26:18 deraadt Exp $ */
/*
* Copyright 1997-2000 Niels Provos <provos@citi.umich.edu>
@@ -41,7 +41,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: kernel.c,v 1.23 2001/06/27 03:31:46 angelos Exp $";
+static char rcsid[] = "$OpenBSD: kernel.c,v 1.24 2001/07/07 18:26:18 deraadt Exp $";
#endif
#include <time.h>
@@ -1409,7 +1409,7 @@ kernel_request_sa(struct sadb_msg *sadb)
struct stateob *st;
time_t tm;
struct sadb_address *dst, *src;
- struct sockaddr *dstaddr, *srcaddr;
+ struct sockaddr *dstaddr;
struct sadb_ext *ext = (struct sadb_ext *)(sadb + 1);
char srcbuf[NI_MAXHOST], dstbuf[NI_MAXHOST];
void *end;