mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Add ctag support for function prototypes and external variable declarations
@ 2005-10-29  4:25 John Kacur
  2005-12-25 20:30 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: John Kacur @ 2005-10-29  4:25 UTC (permalink / raw)
  To: kai, sam; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 265 bytes --]


This patch adds function prototypes and external variable declarations
to the set of tag kinds when running ctags. I find this useful when
perusing the kernel. Please apply.

Signed-off-by: John Kacur <jkacur@rogers.com>

---
diff -u linux-2.6.14/Makefile{orig,}


[-- Attachment #2: Makefile.patch --]
[-- Type: text/x-patch, Size: 979 bytes --]

--- linux-2.6.14/Makefile.orig	2005-10-28 22:08:31.828865544 -0400
+++ linux-2.6.14/Makefile	2005-10-28 22:18:26.528457464 -0400
@@ -1227,7 +1227,7 @@
 quiet_cmd_TAGS = MAKE   $@
 define cmd_TAGS
 	rm -f $@; \
-	ETAGSF=`etags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f"`; \
+	ETAGSF=`etags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f --c-kinds=+px"`; \
 	$(all-sources) | xargs etags $$ETAGSF -a
 endef
 
@@ -1238,7 +1238,7 @@
 quiet_cmd_tags = MAKE   $@
 define cmd_tags
 	rm -f $@; \
-	CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f"`; \
+	CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f --c-kinds=+px"`; \
 	$(all-sources) | xargs ctags $$CTAGSF -a
 endef
 

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

* Re: [PATCH] Add ctag support for function prototypes and external variable declarations
  2005-10-29  4:25 [PATCH] Add ctag support for function prototypes and external variable declarations John Kacur
@ 2005-12-25 20:30 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2005-12-25 20:30 UTC (permalink / raw)
  To: John Kacur; +Cc: kai, linux-kernel

On Sat, Oct 29, 2005 at 12:25:13AM -0400, John Kacur wrote:
> 
> This patch adds function prototypes and external variable declarations
> to the set of tag kinds when running ctags. I find this useful when
> perusing the kernel. Please apply.

Apllied - thanks.
	
	Sam

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

end of thread, other threads:[~2005-12-25 21:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-29  4:25 [PATCH] Add ctag support for function prototypes and external variable declarations John Kacur
2005-12-25 20:30 ` Sam Ravnborg

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

all inboxes | Powered by JetHome®