header files that are (sort of) referenced

From: Robert P. J. Day
Date: Fri Mar 23 2007 - 12:09:59 EST



based on that last response, i'm curious about which header files
are technically "unreferenced" in the source tree.

for example, consider the following two closely-related headers:

linux/if_wanpipe.h
linux/if_wanpipe_common.h

that second one is not included by any other file in the tree, so i
would normally call that "unused." but the first one, while also not
included, *is* exported to userspace.

i haven't given it much thought but it seems odd to me to include a
header file in the source tree that's technically not *used* by
anything in the source tree, only to export it to userspace. why not
just keep it in userspace in the first place?

or is that a silly question?

rday

p.s. i'm going to assume that if_wanpipe_common.h really *is* useless
and i'll be submitting my final dead header file patch shortly.

--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
-
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/