summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-08 15:47:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-08 15:47:25 +0000
commit308f2917c72aad134844e04f9c30df55909a4c79 (patch)
tree36dbe6cc378b4f6e0faac8d6549ddf9be8d133f9
parent853d6a2e7cde140fbf364fcf1fcfb5f8169978fc (diff)
more __progname
-rw-r--r--sbin/isakmpd/isakmpd.c4
-rw-r--r--sbin/isakmpd/sysdep.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/sbin/isakmpd/isakmpd.c b/sbin/isakmpd/isakmpd.c
index 74225f2f08f..7b831eac63d 100644
--- a/sbin/isakmpd/isakmpd.c
+++ b/sbin/isakmpd/isakmpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isakmpd.c,v 1.77 2005/04/08 15:44:13 deraadt Exp $ */
+/* $OpenBSD: isakmpd.c,v 1.78 2005/04/08 15:47:24 deraadt Exp $ */
/* $EOM: isakmpd.c,v 1.54 2000/10/05 09:28:22 niklas Exp $ */
/*
@@ -119,6 +119,8 @@ static char *pcap_file = 0;
static void
usage(void)
{
+ extern char *__progname;
+
fprintf(stderr,
"usage: %s [-4] [-6] [-a] [-c config-file] [-d] [-D class=level]\n"
" [-f fifo] [-i pid-file] [-K] [-n] [-N udpencap-port]\n"
diff --git a/sbin/isakmpd/sysdep.h b/sbin/isakmpd/sysdep.h
index 50de8191d09..434d30b6a60 100644
--- a/sbin/isakmpd/sysdep.h
+++ b/sbin/isakmpd/sysdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysdep.h,v 1.19 2004/08/10 15:59:10 ho Exp $ */
+/* $OpenBSD: sysdep.h,v 1.20 2005/04/08 15:47:24 deraadt Exp $ */
/* $EOM: sysdep.h,v 1.17 2000/12/04 04:46:35 angelos Exp $ */
/*
@@ -58,7 +58,6 @@ extern int sysdep_ipsec_group_spis(struct sa *, struct proto *,
struct proto *, int);
extern int sysdep_ipsec_set_spi(struct sa *, struct proto *, int,
struct sa *);
-extern char *sysdep_progname(void);
extern u_int32_t sysdep_random(void);
extern u_int8_t sysdep_sa_len(struct sockaddr *);