Skip to content
Snippets Groups Projects
Commit 7dc9353b authored by Per Cederqvist's avatar Per Cederqvist
Browse files

strerror returns (const char *).

parent 4be32f85
No related branches found
No related tags found
No related merge requests found
/* /*
* $Id: missing-ansi.c,v 0.6 1992/04/14 19:20:27 ceder Exp $ * $Id: missing-ansi.c,v 0.7 1992/06/11 14:34:18 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association. * Copyright (C) 1991 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
* Written by ceder. * Written by ceder.
*/ */
static char *rcsid = "$Id: missing-ansi.c,v 0.6 1992/04/14 19:20:27 ceder Exp $"; static char *rcsid = "$Id: missing-ansi.c,v 0.7 1992/06/11 14:34:18 ceder Exp $";
#include <string.h> #include <string.h>
...@@ -94,7 +94,7 @@ mktime (const struct tm * temeptr ) ...@@ -94,7 +94,7 @@ mktime (const struct tm * temeptr )
extern char *sys_errlist[]; extern char *sys_errlist[];
extern int sys_nerr; extern int sys_nerr;
char *strerror(int eno) const char *strerror(int eno)
{ {
static char buf[200]; static char buf[200];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment