Messages in this thread | | | Date | Sat, 20 Dec 1997 23:20:03 -0600 | From | Michael Elizabeth Chastain <> | Subject | Re: Module versioning (was: Re: OFFTOPIC: binary modules, bad idea!) |
| |
Hello Kernel Hackers,
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"
| |