Subject: Re: CVS commit: src/sys/sys
To: None <bjh21@netbsd.org>
From: Klaus Klein <kleink@reziprozitaet.de>
List: source-changes
Date: 05/31/2003 14:16:49
Ben Harris <bjh21@netbsd.org> writes:
> Module Name: src
> Committed By: bjh21
> Date: Sat May 31 11:49:26 UTC 2003
>
> Modified Files:
> src/sys/sys: shm.h
>
> Log Message:
> Burn the namespace heretic!
>
> Alternatively, don't include <unistd.h>, but hard-code the value of
> _SC_PAGESIZE. This avoids polluting the application's namespace, and
> matches existing practice (CLK_TCK in <time.h>).
It might be argued that it's matching bad existing practice.
I've refrained from touching <time.h> because it also is an ISO C
header (unlike <sys/shm.h>), but considering its use of _SC_CLK_TCK
(CLK_TCK) being outside the scope of ISO C as well, I'd rather make it
use the symbolic version, too.
- Klaus