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 | |
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')
-rw-r--r-- | string/sigabbrev_np.c | 2 | ||||
-rw-r--r-- | 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; |