roken: Const-qualify sys_errlist
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:

committed by
Jeffrey Altman

parent
db5c8711b4
commit
a9f21ebdac
@@ -38,7 +38,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
extern int sys_nerr;
|
extern int sys_nerr;
|
||||||
extern char *sys_errlist[];
|
extern const char *const sys_errlist[];
|
||||||
|
|
||||||
ROKEN_LIB_FUNCTION char* ROKEN_LIB_CALL
|
ROKEN_LIB_FUNCTION char* ROKEN_LIB_CALL
|
||||||
strerror(int eno)
|
strerror(int eno)
|
||||||
|
Reference in New Issue
Block a user