(hstrerror): add const to return type

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5511 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-03-11 14:02:52 +00:00
parent 0dae61d2b5
commit ec6545dd52

View File

@@ -80,11 +80,11 @@ extern int h_nerr;
#endif
char *
const char *
hstrerror(int herr)
{
if (0 <= herr && herr < h_nerr)
return (char *) h_errlist[herr];
return h_errlist[herr];
else if(herr == -17)
return "unknown error";
else