aboutsummaryrefslogtreecommitdiff
path: root/gdb/rdi-share
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1998-03-18 18:36:48 +0000
committerNick Clifton <nickc@redhat.com>1998-03-18 18:36:48 +0000
commit3f7e239dea5ff9261e6e68ee449c714d63b5c857 (patch)
tree691fb39fa3a03ea224c73482536f16a36f334644 /gdb/rdi-share
parentc21f1da31c077ea0713f5d972c5c98d3a867a8cf (diff)
downloadgdb-3f7e239dea5ff9261e6e68ee449c714d63b5c857.zip
gdb-3f7e239dea5ff9261e6e68ee449c714d63b5c857.tar.gz
gdb-3f7e239dea5ff9261e6e68ee449c714d63b5c857.tar.bz2
Change type of sys_errlist[] to match definition in /usr/include/errno.h
Diffstat (limited to 'gdb/rdi-share')
-rw-r--r--gdb/rdi-share/etherdrv.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/gdb/rdi-share/etherdrv.c b/gdb/rdi-share/etherdrv.c
index 3c7f254..cd0980e 100644
--- a/gdb/rdi-share/etherdrv.c
+++ b/gdb/rdi-share/etherdrv.c
@@ -80,13 +80,9 @@
#ifndef COMPILING_ON_WINDOWS
-/* these two might not work for windows */
- extern int sys_nerr;
-#ifdef __linux__
- extern const char *const sys_errlist[];
-#else
- extern char *sys_errlist[];
-#endif
+/* These two might not work for windows. */
+extern int sys_nerr;
+extern char * sys_errlist[];
#endif
#ifndef UNUSED