mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +00:00
string: Fix prototype mismatch in sigabbrev_np, __sigdescr_np
GCC 6 does not ignore the const specifier on the return type.
This commit is contained in:
parent
beea361050
commit
5b2deed8a5
@ -20,7 +20,7 @@
|
||||
#include <signal.h>
|
||||
#include <array_length.h>
|
||||
|
||||
const char *const
|
||||
const char *
|
||||
sigabbrev_np (int signum)
|
||||
{
|
||||
const char *abbrev = NULL;
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include <signal.h>
|
||||
#include <array_length.h>
|
||||
|
||||
const char *const
|
||||
const char *
|
||||
__sigdescr_np (int signum)
|
||||
{
|
||||
const char *descr = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user