From: Kevin Buettner <kevinb@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: [RFA] lin-lwp.c: Remove ``const'' from strsignal() declaration
Date: Thu, 05 Dec 2002 15:25:00 -0000 [thread overview]
Message-ID: <1021205232031.ZM17206@localhost.localdomain> (raw)
As noted in gdb@, I was seeing a conflict between the declarations of
strsignal() in lin-lwp.c and in <string.h>. The patch below is one
way of fixing the problem.
Okay to commit?
* lin-lwp.c (strsignal): Make extern declaration match that of glibc.
Index: lin-lwp.c
===================================================================
RCS file: /cvs/src/src/gdb/lin-lwp.c,v
retrieving revision 1.38
diff -u -p -r1.38 lin-lwp.c
--- lin-lwp.c 4 Dec 2002 03:20:29 -0000 1.38
+++ lin-lwp.c 5 Dec 2002 23:15:40 -0000
@@ -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
next reply other threads:[~2002-12-05 23:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-05 15:25 Kevin Buettner [this message]
2002-12-09 11:40 ` Kevin Buettner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1021205232031.ZM17206@localhost.localdomain \
--to=kevinb@redhat.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox