const-ize fatalperror

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2183 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-07-12 14:38:09 +00:00
parent 04e7ba2b8e
commit fc1918e7e4
2 changed files with 2 additions and 2 deletions

View File

@@ -142,7 +142,7 @@ void netclear (void);
void netflush (void);
void writenet (unsigned char *ptr, int len);
void fatal (int f, char *msg);
void fatalperror (int f, char *msg);
void fatalperror (int f, const char *msg);
void edithost (char *pat, char *host);
void putstr (char *s);
void putchr (int cc);

View File

@@ -351,7 +351,7 @@ void fatal(int f, char *msg)
}
void
fatalperror(int f, char *msg)
fatalperror(int f, const char *msg)
{
char buf[BUFSIZ];