Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/sys
Ben Harris <bjh21%netbsd.org@localhost> 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
Home |
Main Index |
Thread Index |
Old Index