summaryrefslogtreecommitdiff
path: root/scripts/find_stray_common_vars
diff options
context:
space:
mode:
authorDenis Vlasenko2007-09-27 10:08:02 +0000
committerDenis Vlasenko2007-09-27 10:08:02 +0000
commitc9dc2ac578278e86be248cc21e53081f7054da83 (patch)
tree72754c2d47216adf8af915e7ace49c4576c5108f /scripts/find_stray_common_vars
parenta619b85ef5c4c8215bf11552e9a6433183f22108 (diff)
downloadbusybox-c9dc2ac578278e86be248cc21e53081f7054da83.zip
busybox-c9dc2ac578278e86be248cc21e53081f7054da83.tar.gz
make variables static
Diffstat (limited to 'scripts/find_stray_common_vars')
-rwxr-xr-xscripts/find_stray_common_vars2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/find_stray_common_vars b/scripts/find_stray_common_vars
index 9f26bc7..3a25d7a 100755
--- a/scripts/find_stray_common_vars
+++ b/scripts/find_stray_common_vars
@@ -3,7 +3,7 @@
# Common variables are elusive, they don't show up in size output!
# This script will show all commons in *.o, sorted by size
-find -name '*.o' \
+find ! -path './scripts/*' -a ! -name built-in.o -a -name '*.o' \
| while read name; do
b=`basename "$name"`
nm "$name" | sed "s/^/$b: /"