diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-07-08 14:19:58 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-07-08 14:19:58 +0200 |
commit | 5b2deed8a5d5cca2d82423572415a1c629bea488 (patch) | |
tree | 98b2840060f9e0e3ccc8944c78c3f606c2ec952e /string/sigdescr_np.c | |
parent | beea361050728138b82c57dda0c4810402d342b9 (diff) | |
download | glibc-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.c | 2 |
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; |