* [PATCH] ctags: remove struct forward declarations
@ 2011-11-26 19:02 Alexey Dobriyan
2011-12-18 21:45 ` Michal Marek
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2011-11-26 19:02 UTC (permalink / raw)
To: mmarek, akpm; +Cc: linux-kernel
They're quite pointless and obscure location of real structure definition.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
scripts/tags.sh | 2 ++
1 file changed, 2 insertions(+)
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -146,6 +146,8 @@ exuberant()
--langdef=dotconfig --language-force=dotconfig \
--regex-dotconfig='/^#?[[:blank:]]*(CONFIG_[[:alnum:]_]+)/\1/'
+ # Remove structure forward declarations.
+ LANG=C sed -i -e '/^\([a-zA-Z_][a-zA-Z0-9_]*\)\t.*\t\/\^struct \1;.*\$\/;"\tx$/d' tags
}
emacs()
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-18 21:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-26 19:02 [PATCH] ctags: remove struct forward declarations Alexey Dobriyan
2011-12-18 21:45 ` Michal Marek
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®