public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tags: put function prototypes back (like in 2.6.31)
@ 2009-11-21 17:50 Alexey Dobriyan
  2009-11-23 16:04 ` Américo Wang
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2009-11-21 17:50 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, akpm, stefani

Having function prototypes in tags is useful for e.g. quick look
which header is needed for compile fix.

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/'
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] tags: put function prototypes back (like in 2.6.31)
  2009-11-21 17:50 [PATCH] tags: put function prototypes back (like in 2.6.31) Alexey Dobriyan
@ 2009-11-23 16:04 ` Américo Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Américo Wang @ 2009-11-23 16:04 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: torvalds, linux-kernel, akpm, stefani

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.
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-23 16:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-21 17:50 [PATCH] tags: put function prototypes back (like in 2.6.31) Alexey Dobriyan
2009-11-23 16:04 ` Américo Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox