diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-04 10:24:16 +0100 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-12-02 12:46:18 +0100 |
commit | 0a18a9386c056028799938960f91be338c4ff349 (patch) | |
tree | 37ca68b14dc95ddfd7329d51920f46e2e409662d /scripts | |
parent | 45f53cc90e8f0e46ab024d0bc1de49ebee0dc583 (diff) | |
download | linux-3.10-0a18a9386c056028799938960f91be338c4ff349.tar.gz linux-3.10-0a18a9386c056028799938960f91be338c4ff349.tar.bz2 linux-3.10-0a18a9386c056028799938960f91be338c4ff349.zip |
tags: put function prototypes back!
Commit 7db86dc (ctags: usability fix) removed function prototypes from
tags file claiming "It makes no real sense to include function
prototypes".
But it is useful for quickly determining which header file developer
needs to include to fix compilation.
Now if someone wants to remove forward declarations (which I agree are
baggage), write a postprocessing script.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/tags.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh index 8509bb51293..e091db312dd 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -123,7 +123,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/' |