aboutsummaryrefslogtreecommitdiff
path: root/string/sigdescr_np.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-07-08 14:19:58 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-07-08 14:19:58 +0200
commit5b2deed8a5d5cca2d82423572415a1c629bea488 (patch)
tree98b2840060f9e0e3ccc8944c78c3f606c2ec952e /string/sigdescr_np.c
parentbeea361050728138b82c57dda0c4810402d342b9 (diff)
downloadglibc-5b2deed8a5d5cca2d82423572415a1c629bea488.tar
glibc-5b2deed8a5d5cca2d82423572415a1c629bea488.tar.gz
glibc-5b2deed8a5d5cca2d82423572415a1c629bea488.tar.bz2
glibc-5b2deed8a5d5cca2d82423572415a1c629bea488.zip
string: Fix prototype mismatch in sigabbrev_np, __sigdescr_np
GCC 6 does not ignore the const specifier on the return type.
Diffstat (limited to 'string/sigdescr_np.c')
-rw-r--r--string/sigdescr_np.c2
1 files changed, 1 insertions, 1 deletions
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;