Regis Duchesne writes:
> #ifdef CONFIG_MODULE_LONG_LIVE
> inline void foo_add(void *p)
> #else
> inline void foo_add(struct foo *p)
> #endif
> {
> .
> .
> }
I think it would be better to use forward declarations:
struct foo;
extern void foo_add( struct foo * p );
Michael Chastain
<mailto:mec@shout.net>
"love without fear"