summaryrefslogtreecommitdiff
path: root/stdio
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-10-26 03:38:19 +0000
committerRoland McGrath <roland@gnu.org>1995-10-26 03:38:19 +0000
commitf44f9c33dff32b1f9f257ec855bbb7261c028039 (patch)
tree6200c9458f02f0e56ca3c4f3c490774f7da418a8 /stdio
parentff9bef7f885990c5f8ac4abb33f100e6cc96163d (diff)
downloadglibc-f44f9c33dff32b1f9f257ec855bbb7261c028039.tar.gz
* stdio/stdio.h (sys_errlist, _sys_errlist): Declare const.
Diffstat (limited to 'stdio')
-rw-r--r--stdio/stdio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio/stdio.h b/stdio/stdio.h
index 347e1868a9..349b9c3e5c 100644
--- a/stdio/stdio.h
+++ b/stdio/stdio.h
@@ -631,11 +631,11 @@ extern void perror __P ((__const char *__s));
#ifdef __USE_BSD
extern int sys_nerr;
-extern char *sys_errlist[];
+extern const char *const sys_errlist[];
#endif
#ifdef __USE_GNU
extern int _sys_nerr;
-extern char *_sys_errlist[];
+extern const char *const _sys_errlist[];
#endif