public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/vineet/arc-port-latest] string: Fix prototype mismatch in sigabbrev_np, __sigdescr_np
@ 2020-07-09 16:36 Vineet Gupta
0 siblings, 0 replies; only message in thread
From: Vineet Gupta @ 2020-07-09 16:36 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5b2deed8a5d5cca2d82423572415a1c629bea488
commit 5b2deed8a5d5cca2d82423572415a1c629bea488
Author: Florian Weimer <fweimer@redhat.com>
Date: Wed Jul 8 14:19:58 2020 +0200
string: Fix prototype mismatch in sigabbrev_np, __sigdescr_np
GCC 6 does not ignore the const specifier on the return type.
Diff:
---
string/sigabbrev_np.c | 2 +-
string/sigdescr_np.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/string/sigabbrev_np.c b/string/sigabbrev_np.c
index 3cbe14e769..a5ac6da053 100644
--- a/string/sigabbrev_np.c
+++ b/string/sigabbrev_np.c
@@ -20,7 +20,7 @@
#include <signal.h>
#include <array_length.h>
-const char *const
+const char *
sigabbrev_np (int signum)
{
const char *abbrev = NULL;
diff --git a/string/sigdescr_np.c b/string/sigdescr_np.c
index 5bcf814c1d..bf2d462b9c 100644
--- a/string/sigdescr_np.c
+++ b/string/sigdescr_np.c
@@ -20,7 +20,7 @@
#include <signal.h>
#include <array_length.h>
-const char *const
+const char *
__sigdescr_np (int signum)
{
const char *descr = NULL;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-09 16:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-09 16:36 [glibc/vineet/arc-port-latest] string: Fix prototype mismatch in sigabbrev_np, __sigdescr_np Vineet Gupta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).