Mon Mar 2 16:59:15 1998 Jason Molenda (crash@bugshack.cygnus.com)
* rdi-share/etherdrv.c (sys_errlist): Add correct decl for Linux.
This commit is contained in:
parent
37ac9ecccd
commit
290d79e0a6
|
@ -1,3 +1,7 @@
|
||||||
|
Mon Mar 2 16:59:15 1998 Jason Molenda (crash@bugshack.cygnus.com)
|
||||||
|
|
||||||
|
* rdi-share/etherdrv.c (sys_errlist): Add correct decl for Linux.
|
||||||
|
|
||||||
Mon Mar 2 16:51:44 1998 Jason Molenda (crash@bugshack.cygnus.com)
|
Mon Mar 2 16:51:44 1998 Jason Molenda (crash@bugshack.cygnus.com)
|
||||||
|
|
||||||
* Makefile.in (YYFILES): Remove in maintainer-clean, not distclean.
|
* Makefile.in (YYFILES): Remove in maintainer-clean, not distclean.
|
||||||
|
|
|
@ -82,8 +82,12 @@
|
||||||
#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…
Reference in New Issue