mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
943c18018b
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. |
||
---|---|---|
.. | ||
pc | ||
_limits.h | ||
ansi.h | ||
apm_bios.h | ||
apm_segments.h | ||
asmacros.h | ||
bootinfo.h | ||
clock.h | ||
cons.h | ||
console.h | ||
cpu.h | ||
cpufunc.h | ||
cputypes.h | ||
cronyx.h | ||
db_machdep.h | ||
devconf.h | ||
dkio.h | ||
eflags.h | ||
endian.h | ||
exec.h | ||
float.h | ||
floatingpoint.h | ||
frame.h | ||
gsc.h | ||
ieeefp.h | ||
ioctl_ctx.h | ||
ioctl_fd.h | ||
ioctl_pc.h | ||
ipl.h | ||
joystick.h | ||
limits.h | ||
lpt.h | ||
md_var.h | ||
mouse.h | ||
mtpr.h | ||
npx.h | ||
param.h | ||
pcaudioio.h | ||
pcb.h | ||
pcvt_ioctl.h | ||
pio.h | ||
pmap.h | ||
proc.h | ||
profile.h | ||
psl.h | ||
pte.h | ||
ptrace.h | ||
reg.h | ||
reloc.h | ||
segments.h | ||
signal.h | ||
soundcard.h | ||
speaker.h | ||
specialreg.h | ||
spigot.h | ||
spl.h | ||
stdarg.h | ||
sysarch.h | ||
trap.h | ||
tss.h | ||
types.h | ||
ultrasound.h | ||
varargs.h | ||
vmparam.h |