From: Ezra Peisach Date: Sat, 24 Feb 1996 14:32:04 +0000 (+0000) Subject: * ext.h, utility.c (fatalperror, fatal): Add const to argument X-Git-Tag: krb5-1.0-beta6~476 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f93561f173c5530e0bdac8e4faf9abedc9c4b9c1;p=krb5.git * ext.h, utility.c (fatalperror, fatal): Add const to argument git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7519 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/telnet/telnetd/ChangeLog b/src/appl/telnet/telnetd/ChangeLog index c85fe7144..b0916a5ab 100644 --- a/src/appl/telnet/telnetd/ChangeLog +++ b/src/appl/telnet/telnetd/ChangeLog @@ -1,3 +1,7 @@ +Tue Feb 13 16:23:23 1996 Ezra Peisach + + * ext.h, utility.c (fatalperror, fatal): Add const to argument. + Mon Jan 15 17:35:25 1996 Sam Hartman * sys_term.c: Call pty_update_utmp with PTY_TTYSLOT_USABLE flag. diff --git a/src/appl/telnet/telnetd/ext.h b/src/appl/telnet/telnetd/ext.h index b7c1786b7..4a332cea5 100644 --- a/src/appl/telnet/telnetd/ext.h +++ b/src/appl/telnet/telnetd/ext.h @@ -112,8 +112,8 @@ extern void dooption P((int)), dontoption P((int)), edithost P((char *, char *)), - fatal P((int, char *)), - fatalperror P((int, char *)), + fatal P((int, const char *)), + fatalperror P((int, const char *)), get_slc_defaults P((void)), init_env P((void)), init_termbuf P((void)), diff --git a/src/appl/telnet/telnetd/utility.c b/src/appl/telnet/telnetd/utility.c index 0620922b3..54d42d296 100644 --- a/src/appl/telnet/telnetd/utility.c +++ b/src/appl/telnet/telnetd/utility.c @@ -339,7 +339,7 @@ writenet(ptr, len) void fatal(f, msg) int f; - char *msg; + const char *msg; { char buf[BUFSIZ]; @@ -362,7 +362,7 @@ fatal(f, msg) void fatalperror(f, msg) int f; - char *msg; + const char *msg; { char buf[BUFSIZ], *strerror();