mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-13 05:20:44 +00:00
Change type of sys_errlist[] to match definition in /usr/include/errno.h
This commit is contained in:
parent
c21f1da31c
commit
3f7e239dea
@ -1,3 +1,7 @@
|
|||||||
|
Wed Mar 18 10:34:51 1998 Nick Clifton <nickc@cygnus.com>
|
||||||
|
|
||||||
|
* rdi-share/etherdrv.c: Set sys_errlist[] as char * not const char *.
|
||||||
|
|
||||||
Fri Mar 13 15:43:53 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
Fri Mar 13 15:43:53 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
||||||
|
|
||||||
* config/mips/xm-mips.h (CC_HAS_LONG_LONG): Undefine for Ultrix
|
* config/mips/xm-mips.h (CC_HAS_LONG_LONG): Undefine for Ultrix
|
||||||
|
@ -80,14 +80,10 @@
|
|||||||
|
|
||||||
|
|
||||||
#ifndef COMPILING_ON_WINDOWS
|
#ifndef COMPILING_ON_WINDOWS
|
||||||
/* these two might not work for windows */
|
/* These two might not work for windows. */
|
||||||
extern int sys_nerr;
|
extern int sys_nerr;
|
||||||
#ifdef __linux__
|
|
||||||
extern const char *const sys_errlist[];
|
|
||||||
#else
|
|
||||||
extern char * sys_errlist[];
|
extern char * sys_errlist[];
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef UNUSED
|
#ifndef UNUSED
|
||||||
# define UNUSED(x) (x = x) /* Silence compiler warnings */
|
# define UNUSED(x) (x = x) /* Silence compiler warnings */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user