summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2015-09-12 12:42:36 +0000
committermiod <miod@openbsd.org>2015-09-12 12:42:36 +0000
commitce2fc43e9a1994097a11ca26480e32b2f6f08d9e (patch)
tree4c78e566b916a9a18ecd2120a464deb51a3f5bf6 /usr.sbin/pppd
parentUncopy and unpaste dtls1_send_client_key_exchange() - the (diff)
downloadwireguard-openbsd-ce2fc43e9a1994097a11ca26480e32b2f6f08d9e.tar.xz
wireguard-openbsd-ce2fc43e9a1994097a11ca26480e32b2f6f08d9e.zip
Remove dead get_host_seed() function; Martin Natano
Diffstat (limited to 'usr.sbin/pppd')
-rw-r--r--usr.sbin/pppd/pppd.h3
-rw-r--r--usr.sbin/pppd/sys-bsd.c11
2 files changed, 2 insertions, 12 deletions
diff --git a/usr.sbin/pppd/pppd.h b/usr.sbin/pppd/pppd.h
index 76f59067a33..1bdc59491e9 100644
--- a/usr.sbin/pppd/pppd.h
+++ b/usr.sbin/pppd/pppd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pppd.h,v 1.19 2015/06/12 14:18:25 mikeb Exp $ */
+/* $OpenBSD: pppd.h,v 1.20 2015/09/12 12:42:36 miod Exp $ */
/*
* pppd.h - PPP daemon global declarations.
@@ -309,7 +309,6 @@ void unlock(void); /* Delete previously-created lock file */
int daemon(int, int); /* Detach us from terminal session */
void logwtmp(const char *, const char *, const char *);
/* Write entry to wtmp file */
-int get_host_seed(void); /* Get host-dependent random number seed */
#ifdef PPP_FILTER
int set_filters(struct bpf_program *pass, struct bpf_program *active);
/* Set filter programs in kernel */
diff --git a/usr.sbin/pppd/sys-bsd.c b/usr.sbin/pppd/sys-bsd.c
index a13ed05b4a6..5d9b949e6fa 100644
--- a/usr.sbin/pppd/sys-bsd.c
+++ b/usr.sbin/pppd/sys-bsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys-bsd.c,v 1.26 2009/10/27 23:59:53 deraadt Exp $ */
+/* $OpenBSD: sys-bsd.c,v 1.27 2015/09/12 12:42:36 miod Exp $ */
/*
* sys-bsd.c - System-dependent procedures for setting up
@@ -1440,15 +1440,6 @@ GetMask(addr)
}
/*
- * Use the hostid as part of the random number seed.
- */
-int
-get_host_seed()
-{
- return gethostid();
-}
-
-/*
* lock - create a lock file for the named lock device
*/
#define LOCK_PREFIX "/var/spool/lock/LCK.."