* libc/include/sys/signal.h: Move <signal.h> include to bottom of file so that
all relevant definitions have been handled for use in the include.
This commit is contained in:
parent
7be5e72f3d
commit
b08d08c7c4
|
@ -1,3 +1,9 @@
|
||||||
|
2004-10-28 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* libc/include/sys/signal.h: Move <signal.h> include to bottom of file
|
||||||
|
so that all relevant definitions have been handled for use in the
|
||||||
|
include.
|
||||||
|
|
||||||
2004-10-26 Jason Tishler <jason@tishler.net>
|
2004-10-26 Jason Tishler <jason@tishler.net>
|
||||||
|
|
||||||
* libc/stdio/fread.c (fread): Fix return value for unbuffered
|
* libc/stdio/fread.c (fread): Fix return value for unbuffered
|
||||||
|
|
|
@ -2,13 +2,6 @@
|
||||||
|
|
||||||
#ifndef _SYS_SIGNAL_H
|
#ifndef _SYS_SIGNAL_H
|
||||||
#define _SYS_SIGNAL_H
|
#define _SYS_SIGNAL_H
|
||||||
|
|
||||||
#ifndef _SIGNAL_H_
|
|
||||||
/* Some applications take advantage of the fact that <sys/signal.h>
|
|
||||||
* and <signal.h> are equivalent in glibc. Allow for that here. */
|
|
||||||
#include <signal.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
@ -308,4 +301,10 @@ int _EXFUN(sigqueue, (pid_t pid, int signo, const union sigval value));
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef _SIGNAL_H_
|
||||||
|
/* Some applications take advantage of the fact that <sys/signal.h>
|
||||||
|
* and <signal.h> are equivalent in glibc. Allow for that here. */
|
||||||
|
#include <signal.h>
|
||||||
|
#endif
|
||||||
#endif /* _SYS_SIGNAL_H */
|
#endif /* _SYS_SIGNAL_H */
|
||||||
|
|
Loading…
Reference in New Issue