Re: including .c files ?
From: Chris Friesen
Date: Fri Aug 08 2008 - 11:06:41 EST
Krzysztof Halasa wrote:
"Frans Meulenbroeks" <fransmeulenbroeks@xxxxxxxxx> writes:
Generally I would expect that if the .c file contains some standalone
functionality then it should probably be a .c file on its own with a
well defined interface.
Doesn't work when you need conditional compilation.
Sure it does...look at all the kernel Makefiles that compile code based
on whether a config option is set.
In the case of the scheduler I suspect it's done to break a single
logical file into several pieces for better readability.
Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/