From 67efb0adddd5c04e645535e5454772d1da2b7105 Mon Sep 17 00:00:00 2001 From: brian Date: Mon, 15 Jun 1998 19:06:58 +0000 Subject: o De-staticise things that don't need to be static. o Bring the static ``ttystate'' into struct prompt so that the tilde context is per prompt and not global. o Comment the remaining static variables so that it's clear why they're static. o Add some XXX comments suggesting that our interface list and our hostname should be re-generated after a signal (say SIGUSR1) so that a machine with PCCARDs has a chance. --- usr.sbin/ppp/defs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ppp/defs.c') diff --git a/usr.sbin/ppp/defs.c b/usr.sbin/ppp/defs.c index d228eb3..95177de 100644 --- a/usr.sbin/ppp/defs.c +++ b/usr.sbin/ppp/defs.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: defs.c,v 1.14 1998/05/29 00:03:00 brian Exp $ + * $Id: defs.c,v 1.15 1998/05/29 18:32:11 brian Exp $ */ @@ -39,7 +39,7 @@ void randinit() { #if __FreeBSD__ >= 3 - static int initdone; + static int initdone; /* srandomdev() call is only required once */ if (!initdone) { initdone = 1; -- cgit v1.1