projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
358142d
)
ctags: remove struct forward declarations
author
Alexey Dobriyan
<adobriyan@gmail.com>
Sat, 26 Nov 2011 19:02:00 +0000
(22:02 +0300)
committer
Michal Marek
<mmarek@suse.cz>
Sun, 18 Dec 2011 21:36:06 +0000
(22:36 +0100)
They're quite pointless and obscure location of real structure definition.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/tags.sh
patch
|
blob
|
blame
|
history
diff --git
a/scripts/tags.sh
b/scripts/tags.sh
index 028dc5ca857decde6688f495ffa4b00f60dd38eb..833813a99e7c23a29c4e7147c58ac0ca2c696400 100755
(executable)
--- a/
scripts/tags.sh
+++ b/
scripts/tags.sh
@@
-167,6
+167,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()