X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fauth.c;h=0eb7566014c5360e9c702183b52f034e5083fd46;hb=b51b115d3388c832ff97b36407e1eb525371122c;hp=ebdb8d35b65f45f489ece5b2233519384c31252c;hpb=f4bbdad033923f1577cb00f516a5316feaa12233;p=ppp.git diff --git a/pppd/auth.c b/pppd/auth.c index ebdb8d3..0eb7566 100644 --- a/pppd/auth.c +++ b/pppd/auth.c @@ -33,7 +33,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: auth.c,v 1.26 1996/08/28 06:39:12 paulus Exp $"; +static char rcsid[] = "$Id: auth.c,v 1.27 1996/09/26 06:20:35 paulus Exp $"; #endif #include @@ -54,7 +54,7 @@ static char rcsid[] = "$Id: auth.c,v 1.26 1996/08/28 06:39:12 paulus Exp $"; #ifdef SVR4 #include #else -#ifdef SUNOS4 +#if defined(SUNOS4) || defined(ULTRIX) extern char *crypt(); #endif #endif @@ -80,10 +80,6 @@ extern char *crypt(); #include "chap.h" #include "pathnames.h" -#if defined(sun) && defined(sparc) -#include -#endif /*sparc*/ - /* Used for storing a sequence of words. Usually malloced. */ struct wordlist { struct wordlist *next; @@ -923,7 +919,8 @@ null_login(unit) * could be found. */ static int -get_pap_passwd(char *passwd) +get_pap_passwd(passwd) + char *passwd; { char *filename; FILE *f;