X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fsys-bsd.c;h=1a1810de2bfc4e674681c38d8de908a0b6b3fe0b;hp=60a7927489868dbe4e963c40e9071a8d2aaa4a33;hb=e8be982dbc5c6c50dfc9f66737867570c8ed4973;hpb=5daac16c20d48941d638bfe4a0c0acdeecc2be35 diff --git a/pppd/sys-bsd.c b/pppd/sys-bsd.c index 60a7927..1a1810d 100644 --- a/pppd/sys-bsd.c +++ b/pppd/sys-bsd.c @@ -21,7 +21,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: sys-bsd.c,v 1.42 1999/04/01 07:20:10 paulus Exp $"; +static char rcsid[] = "$Id: sys-bsd.c,v 1.43 1999/04/12 06:24:49 paulus Exp $"; /* $NetBSD: sys-bsd.c,v 1.1.1.3 1997/09/26 18:53:04 christos Exp $ */ #endif @@ -83,8 +83,6 @@ static int restore_term; /* 1 => we've munged the terminal */ static struct termios inittermios; /* Initial TTY termios */ static struct winsize wsinfo; /* Initial window size info */ -static char *lock_file; /* name of lock file created */ - static int loop_slave = -1; static int loop_master; static char loop_name[20]; @@ -1447,11 +1445,14 @@ get_host_seed() return gethostid(); } +#if 0 /* * lock - create a lock file for the named lock device */ #define LOCK_PREFIX "/var/spool/lock/LCK.." +static char *lock_file; /* name of lock file created */ + int lock(dev) char *dev; @@ -1521,3 +1522,4 @@ unlock() lock_file = NULL; } } +#endif