Re: Patch: pre3-2 compile fixes

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Jul 03 2000 - 05:20:49 EST


> >This breaks the ability to pull the version from the binary. Use
> >static __attribute__((unused)) char *
>
> >[yes its ugly but define __unused maybe]
>
> I know its only a few bytes, but, just in the interests
> of code readability and having a consistent standard across the
> rest of kernel, let me suggest putting it in MODULE_DESCRIPTION()
> if you want the user to be able to extract it from the module binary.
> Using MODULE_DESCRIPTION would have the following advantages:

I can't argue with that, I should have thought of it

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:11 EST