Re: [dwm] dwm-5.3

From: Neale Pickett <>
Date: Sat, 13 Dec 2008 10:34:28 -0700

James Turner <> writes:

> After taking some time and looking at the different signal headers on
> OpenBSD only #include <sys/signal.h> is required, no need to #include
> <signal.h> which contains additional functions.

My man page (Linux) says to #include <signal.h>. I don't have any of my
books nearby, nor do I have access to any of my older boxen (SunOS,
HP/UX, etc.) but I suspect signal.h is the portable way to do it.

I'm not sure what the motivation is for changing this. If the concern
is size of the compiled binary, consider that including prototypes for
additional functions shouldn't change anything about the output binary;
it still links against libc6, and since #define is just a C preprocessor
directive, unused #defines won't affect the binary either.

Received on Sat Dec 13 2008 - 17:34:28 UTC

This archive was generated by hypermail 2.2.0 : Sat Dec 13 2008 - 17:36:04 UTC