]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/auth.c
N_PPP ->NUM_PPP
[ppp.git] / pppd / auth.c
index 85ea8db1e6be826ebb740b8588e0078c9751ef0d..406661b113b4a97286797fb4f3a3d45211468262 100644 (file)
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: auth.c,v 1.10 1994/09/21 06:47:37 paulus Exp $";
+static char rcsid[] = "$Id: auth.c,v 1.12 1994/10/24 04:31:11 paulus Exp $";
 #endif
 
 #include <stdio.h>
 #include <stddef.h>
+#include <stdlib.h>
 #include <syslog.h>
 #include <pwd.h>
 #include <string.h>
@@ -77,9 +78,9 @@ struct wordlist {
 #define TRUE   1
 
 /* Records which authentication operations haven't completed yet. */
-static int auth_pending[N_PPP];
+static int auth_pending[NUM_PPP];
 static int logged_in;
-static struct wordlist *addresses[N_PPP];
+static struct wordlist *addresses[NUM_PPP];
 
 /* Bits in auth_pending[] */
 #define UPAP_WITHPEER  1