]> git.ozlabs.org Git - ppp.git/blobdiff - pppstats/pppstats.c
fix function prototypes; add optional packet filtering
[ppp.git] / pppstats / pppstats.c
index aa7457576dcce6a739116fced6a670c6bcbb6633..d6c63a87206de6aeb558256198e0252d64af3723 100644 (file)
@@ -32,7 +32,7 @@
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: pppstats.c,v 1.15 1996/08/28 06:43:30 paulus Exp $";
+static char rcsid[] = "$Id: pppstats.c,v 1.18 1997/03/04 03:44:47 paulus Exp $";
 #endif
 
 #include <stdio.h>
@@ -71,6 +71,11 @@ int  signalled;              /* set if alarm goes off "early" */
 char   *progname;
 char   *interface;
 
+#if defined(SUNOS4) || defined(ULTRIX) || defined(NeXT)
+extern int optind;
+extern char *optarg;
+#endif
+
 void
 usage()
 {