]> git.ozlabs.org Git - ppp.git/commitdiff
don't need IFNAMSIZ now
authorPaul Mackerras <paulus@samba.org>
Wed, 4 Feb 1998 01:40:59 +0000 (01:40 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 4 Feb 1998 01:40:59 +0000 (01:40 +0000)
pppd/main.c

index 1ad46a6b8ca3aa50c5da1b1af0d4ec8d6bf90f11..3273cdf9aa32412a282bafdafb54758b6dd1f9b9 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: main.c,v 1.43 1997/11/27 06:09:20 paulus Exp $";
+static char rcsid[] = "$Id: main.c,v 1.44 1998/02/04 01:40:59 paulus Exp $";
 #endif
 
 #include <stdio.h>
@@ -40,7 +40,6 @@ static char rcsid[] = "$Id: main.c,v 1.43 1997/11/27 06:09:20 paulus Exp $";
 #include <sys/resource.h>
 #include <sys/stat.h>
 #include <sys/socket.h>
-#include <net/if.h>
 
 #include "pppd.h"
 #include "magic.h"
@@ -69,7 +68,7 @@ extern char *strerror();
 #endif
 
 /* interface vars */
-char ifname[IFNAMSIZ];         /* Interface name */
+char ifname[32];               /* Interface name */
 int ifunit;                    /* Interface unit number */
 
 char *progname;                        /* Name of this program */