Re: [PATCH] tags: put function prototypes back (like in 2.6.31)

From: AmÃrico Wang
Date: Mon Nov 23 2009 - 11:09:40 EST


On Sat, Nov 21, 2009 at 08:50:58PM +0300, Alexey Dobriyan wrote:
>Having function prototypes in tags is useful for e.g. quick look
>which header is needed for compile fix.
>

Sounds reasonable, but this will make finding the definition
a little harder with cscope, since usually I get more than
just the definition when I just want to locate it with cscope.

Thanks.


>removed in commit 7db86dc97fb0c47af63e6b965e8ff37126050d25
>"ctags: usability fix"
>
>Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
>---
>
> scripts/tags.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>--- a/scripts/tags.sh
>+++ b/scripts/tags.sh
>@@ -102,7 +102,7 @@ exuberant()
> -I ____cacheline_internodealigned_in_smp \
> -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \
> -I DEFINE_TRACE,EXPORT_TRACEPOINT_SYMBOL,EXPORT_TRACEPOINT_SYMBOL_GPL \
>- --extra=+f --c-kinds=-px \
>+ --extra=+f --c-kinds=+px \
> --regex-asm='/^ENTRY\(([^)]*)\).*/\1/' \
> --regex-c='/^SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys_\1/'
>
>--
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@xxxxxxxxxxxxxxx
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/

--
Live like a child, think like the god.

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