__initfunc - very clever and nice, but...

Tigran Aivazian (tigran@sco.COM)
Thu, 9 Jul 1998 09:11:33 +0100 (BST)


Hello guys,

I am sure __initfunc was a very good idea in terms of throwing away the
unused init code but it creates a small nuisance with respect to using
ctags/vim. I already mailed the author of vim(1) but his responce was very
logical explanation that since this is not C there is no reason why ctags
should recognise the stuff starting with __initfunc as a function.

For example, if I try vi -t start_kernel I get two tags - both in alpha
arch which I have no interest in, simply because the i386 one is
__initfunc.

Is there some other clever way to indicate that a function is to be
__initfunc'ed and yet keep it visible to ctags(1)?

Thanks,
------
Tigran A. Aivazian | http://www.sco.com/
Escalations Research Group | Email: tigran@sco.com
Santa Cruz Operation Ltd |

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu