Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/compat/sys



On Tue, 20 Dec 2011, Alan Barrett wrote:
On Tue, 20 Dec 2011, Matthias Drochner wrote:
Modified Files:
        src/sys/compat/sys: rnd.h
Log Message:
allow kernels w/o COMPAT_50 to build

What was the actual problem? Nothing defined by this file is supposed to be used in a kernel without COMPAT_50; if something is being used accidentally then I'd like to fix that.

OK, I found it. rndpseudo_50.o is unconditionally compiled and added to libcompat in the kernel build directory. Everything else in sys/compat/common is handled in the same way.

I am inclined to wrap most of the contents of compat/common/rndpseudo_50.c and compat/sys/rnd.h in "#ifdef COMPAT_50" guards, although other files in compat/common and compat/sys do not seem to do this.

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index