On Dec 1,  5:50pm, da...@l8s.co.uk (David Laight) wrote:
-- Subject: Re: CVS commit: src/sys/dev

| I'd rather the .c file wasn't polluted with #ifdefs.
| Probably better to #define fss_compat_ioctl(...) EINVAL somewhere.
| 
| We ought to sort out a way of making the compat code loadable
| - in which case this would need to be a real function call
| (possibly an indirect one).

I like that idea. Perhaps we can just make the compat symbols weak
and check for NULL before calling them (or magic autoload module stubs).
That is provided the loader does the necessary magic when it loads/unloads
the module...

christos

Reply via email to