From f93561f173c5530e0bdac8e4faf9abedc9c4b9c1 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Sat, 24 Feb 1996 14:32:04 +0000 Subject: [PATCH] * 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 --- src/appl/telnet/telnetd/ChangeLog | 4 ++++ src/appl/telnet/telnetd/ext.h | 4 ++-- src/appl/telnet/telnetd/utility.c | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) 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(); -- 2.26.2