[OpenAFS-devel] Refactoring the Solaris libafs code base
Russ Allbery
rra@stanford.edu
Wed, 27 Dec 2006 23:07:01 -0800
Dale Ghent <daleg@umbc.edu> writes:
> Russ Allbery wrote:
>> At least in user-space code (I don't know if kernel-space is special), at
>> least all of the following C headers can be included without any guards on
>> any Unix platform we care about:
>>
> ...
>> string.h
> Not this one, at least on Solaris. It collides with <sys/systm.h> if
> _KERNEL is defined.
Well, like I said, I don't know about kernel space. Kernel space can have
its own rules. But the kernel code is hopefully fairly well-contained and
we can apply ifdef cleanups to the rest of the code base more
aggressively.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>