lkml.org 
[lkml]   [2009]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] tags: put function prototypes back (like in 2.6.31)
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@gmail.com>
>---
>
> 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@vger.kernel.org
>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.



\
 
 \ /
  Last update: 2009-11-23 17:11    [W:0.033 / U:1.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site