Skip to contentSkip to conversation

tags: put function prototypes back (like in 2.6.31)

PATCH In review Alexey Dobriyan 2 participants 2 messages Nov 21, 2009 – Nov 23, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tags: put function prototypes back (like in 2.6.31)

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"

---

 scripts/tags.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/tags.sh +1 -1
@@ -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/'
 
#1 lore raw
Quoted 3 lines · Alexey Dobriyan

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.

Quoted 25 lines

removed in commit 7db86dc97fb0c47af63e6b965e8ff37126050d25 "ctags: usability fix"

---

scripts/tags.sh | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
scripts/tags.sh +1 -2
@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 1 line
Live like a child, think like the god.