summaryrefslogtreecommitdiffstats
path: root/include/signal.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix standards conformance bugs in <signal.h>:bde1995-06-281-8/+10
| | | | | | | | | | | | | | | | | | | | | include/signal.h: There was massive namespace pollution from including <sys/types.h>. POSIX functions were declared even when _ANSI_SOURCE is defined. sys.sys/signal.h: NSIG was declared even if _ANSI_SOURCE or _POSIX_SOURCE is defined. sig_atomic_t wasn't declared if _POSIX_SOURCE is defined. Declare a typedef for signal handling functions and use it to unobfuscate declarations and to avoid half-baked function types that cause unwanted compiler warnings at certain warning levels. Fix confusing comment about SA_RESTART. sys/i386/include/signal.h: This has to be included to get the declaration of sig_atomic_t even when _ANSI_SOURCE is defined, so be more careful about polluting the ANSI namespace. Uniformize idempotency ifdefs.
* BSD 4.4 Lite Include Sourcesrgrimes1994-05-241-0/+82
OpenPOWER on IntegriCloud