Skip to contentSkip to conversation

EXPORT_SYMBOL MACRO definition (in 2.4.18-3) - newbie

DISCUSSION sting sting 2 participants 2 messages Sep 21, 2003

lore
Share & tools
lore
#0 lore raw

Hello ,
I want to know where EXPORT_SYMBOL macro is defined (in 2.4.18-3 kernel).

I saw in module.h that there are some #ifndef EXPORT_SYMBOL that print an error if this symbols is nor defined , but searching in the kernel sources did not gave me more results.

I also saw in the kernel Makefile that EXPORT_SYMBOL appears in tags, but I do'nt know how to find the definition for this macro.

Does somebody know ?

regards,
sting

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail

#1 lore raw

Uttered "sting sting" <[email protected]>, spoke thus:

Quoted 1 line

I want to know where EXPORT_SYMBOL macro is defined (in 2.4.18-3 kernel).

It's optionally defined in module source code.

This symbol is used to tailor the symbol scoping rules implemented by the module utilities. A module is free to define this symbol before importing the standard module #include<> files. Use is voluntary (2.4.x) but strongly recommended.