I don't want to cause trouble, but it sure seems like the kernel source
tree could be better organized. For example, in every C application I
have seen, global header files specify interfaces into the relevant
module and local header files are for intramodule use only. In the
Linux kernel tree, ALL the header files are global, thus, you can't
easily tell what things are exported and what is not as you can't just
look at the header file. Isn't this against what open source is about:
Requiring inside knowledge about the code?
I don't understand why local header files are not used. It's easy to
prevent people from using the wrong functions, simply make a script that
checks to see if people are including the local header files from other
modules and return an error if they are. This could be checked at build
Maybe this is all old news, I am rather new to the Linux kernel, but
perhaps this is something that could be addressed in future (2.5?)
versions of the kernel.
-- Jeff Golds email@example.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to firstname.lastname@example.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/