]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/sys-bsd.c
Move some stuff (printing, logging, [un]locking) into utils.c.
[ppp.git] / pppd / sys-bsd.c
index 60a7927489868dbe4e963c40e9071a8d2aaa4a33..1a1810de2bfc4e674681c38d8de908a0b6b3fe0b 100644 (file)
@@ -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