From 834a701a8e2f85ac0fa29c8bc6a103e82d06614c Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Wed, 20 Mar 1996 01:14:10 +0000 Subject: [PATCH] * 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 --- src/appl/bsd/ChangeLog | 5 +++++ src/appl/bsd/kcmd.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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]; -- 2.26.2