aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2002-12-09 18:41:42 +0000
committerKevin Buettner <kevinb@redhat.com>2002-12-09 18:41:42 +0000
commit1b84163ebf47b31eb8e53a63d5027512811fbe96 (patch)
tree170f0465373b89b1321d344e0ba2a02d6faad131
parentbdd78e628a376e2c2c4faa9178f5d574cc026670 (diff)
downloadgdb-1b84163ebf47b31eb8e53a63d5027512811fbe96.zip
gdb-1b84163ebf47b31eb8e53a63d5027512811fbe96.tar.gz
gdb-1b84163ebf47b31eb8e53a63d5027512811fbe96.tar.bz2
* lin-lwp.c (strsignal): Make extern declaration match that of glibc.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/lin-lwp.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b3c266d..3486ae2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2002-12-09 Kevin Buettner <kevinb@redhat.com>
+
+ * lin-lwp.c (strsignal): Make extern declaration match that of glibc.
+
2002-12-07 Andrew Cagney <ac131313@redhat.com>
* f-valprint.c (info_common_command): Use get_frame_pc.
diff --git a/gdb/lin-lwp.c b/gdb/lin-lwp.c
index 444c221..0b30cea 100644
--- a/gdb/lin-lwp.c
+++ b/gdb/lin-lwp.c
@@ -34,7 +34,7 @@
#include "gdbcmd.h"
static int debug_lin_lwp;
-extern const char *strsignal (int sig);
+extern char *strsignal (int sig);
/* On GNU/Linux there are no real LWP's. The closest thing to LWP's
are processes sharing the same VM space. A multi-threaded process