diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/appl/bsd/ChangeLog | 5 | ||||
| -rw-r--r-- | 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 <basch@lehman.com> + + * 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 <raeburn@cygnus.com> * 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]; |
