[Click] MODULE_LICENCE

Eddie Kohler kohler at CS.UCLA.EDU
Thu May 13 10:27:03 EDT 2004


Hi Phillipe,

First off, typo: LICENSE not LICENCE

Second, we put MODULE_LICENSE in a C object file which is then linked 
with the rest of the C++ objects.  See linuxmodule/kernelversion.c

Eddie

On May 11, 2004, at 5:23 AM, Philippe De Neve wrote:

> Hi,
>
> when I try to load an own written package into the kernel I get the 
> warning
> that the module will taint the kernel. I think I have to declare :
> MODULE_LICENCE("GPL");
> the only problem is I don't know where. If I add this to the *.hh file 
> it
> returns "ANSI c++ forbids declaration 'MODULE_LICENCE' with no type" 
> when
> making.
> How can I solve this?
>
> wfr, Philippe
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list