aboutsummaryrefslogtreecommitdiff
path: root/gdb/rdi-share
diff options
context:
space:
mode:
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