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:
Florian Weimer 2020-07-08 14:19:58 +02:00
parent beea361050
commit 5b2deed8a5
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
#include <signal.h>
#include <array_length.h>
const char *const
const char *
sigabbrev_np (int signum)
{
const char *abbrev = NULL;

View File

@ -20,7 +20,7 @@
#include <signal.h>
#include <array_length.h>
const char *const
const char *
__sigdescr_np (int signum)
{
const char *descr = NULL;