Messages in this thread |  | | Date | Fri, 12 Oct 2001 08:34:23 +0200 | From | Ingo Oeser <> | Subject | Re: Modutils 2.5 change, start running this command now |
| |
On Thu, Oct 11, 2001 at 09:45:58PM +1000, Keith Owens wrote: > In current modutils, a module that does not export symbols and does not > say EXPORT_NO_SYMBOLS will default to exporting all symbols. This is a > hangover from kernel 2.0 and will be removed when modutils 2.5 appears, > shortly after the kernel 2.5 branch is created.
Will it still be done, if we put it on the "export-objs" list?
Putting an explicit "EXPORT_SYMBOL(foo)" only encourages people not to look what they can prepend with "static". Everything not static is the C-definition of "exporting".
EXPORT_SYMBOL is nice, if you have modules consisting of multiple objects, that need to share variables/functions but should not be needed, if the module-author knows sth. about proper design.
Regards
Ingo Oeser - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |