diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2015-09-12 12:42:37 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2015-09-12 12:42:37 +0000 |
commit | 3a1a212b3f44369d5d16faa073694986c6d61e82 (patch) | |
tree | 43da593ccf66ec68fd8ba7bea7890c6ae8b50d0c | |
parent | 9bc9b26251847f34aad59c27af648330f1f5fd21 (diff) |
Remove dead get_host_seed() function; Martin Natano
-rw-r--r-- | usr.sbin/pppd/pppd.h | 3 | ||||
-rw-r--r-- | usr.sbin/pppd/sys-bsd.c | 11 |
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.." |