From: Richard Basch Date: Wed, 20 Mar 1996 01:14:10 +0000 (+0000) Subject: * kcmd.c (ruserok): declare the function as taking const char * X-Git-Tag: krb5-1.0-beta6~330 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=834a701a8e2f85ac0fa29c8bc6a103e82d06614c;p=krb5.git * kcmd.c (ruserok): declare the function as taking const char * instead of char * (Solaris 2.5 refuses to compile it, otherwise). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7672 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index 3a8027e98..803e6950a 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,8 @@ +Tue Mar 19 20:11:28 1996 Richard Basch + + * kcmd.c (ruserok): declare the function as taking const char * + instead of char * (Solaris 2.5 refuses to compile it, otherwise). + Tue Mar 12 23:42:50 1996 Ken Raeburn * configure.in: Use AC_HEADER_STDARG. diff --git a/src/appl/bsd/kcmd.c b/src/appl/bsd/kcmd.c index b5681cd41..d343054b9 100644 --- a/src/appl/bsd/kcmd.c +++ b/src/appl/bsd/kcmd.c @@ -451,9 +451,9 @@ getport(alport) #ifndef convex ruserok(rhost, superuser, ruser, luser) - char *rhost; + const char *rhost; int superuser; - char *ruser, *luser; + const char *ruser, *luser; { FILE *hostf; char fhost[MAXHOSTNAMELEN];