On Friday 2011-02-04 14:13, Patrick McHardy wrote: >On 04.02.2011 14:08, Jan Engelhardt wrote: >> -void xtables_free_opts(int unused) >> +EXPORT_SYMBOL void xtables_free_opts(int unused) > >This is pretty ugly in my opinion. Please do something like this: > >#define EXPORT_SYMBOL(x) typeof(x) (x) >__attribute__((visibility("default"))) > >so you can use EXPORT_SYMBOL as in the kernel. But that is redundancy nonplusultra. The reason why EXPORT_SYMBOL is a separate statement is because it is much more than just a function attribute inside the kernel. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html