From: Paul Mackerras Date: Thu, 26 Sep 1996 06:20:35 +0000 (+0000) Subject: fixes for old C compilers and for Ultrix X-Git-Tag: RELEASE_2_3_6~301 X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=7f5ffc23483f75a14f6db53df479518ca793ff23 fixes for old C compilers and for Ultrix --- 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;