diff options
author | Jim Meyering <meyering@redhat.com> | 2008-05-10 23:26:06 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-05-17 12:53:29 +0200 |
commit | 894af8e4502eaeb8d251900c882c85a74fc72f07 (patch) | |
tree | e02a8f5acbb9bfcb630d4bc7441b5627a19771ad /src | |
parent | 0b94c83e343bbb3d86fb0fa5225653eca5a6f2a2 (diff) | |
download | idutils-894af8e4502eaeb8d251900c882c85a74fc72f07.tar.gz idutils-894af8e4502eaeb8d251900c882c85a74fc72f07.tar.bz2 idutils-894af8e4502eaeb8d251900c882c85a74fc72f07.zip |
make more functions static
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 35fd15d..3b872bb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -24,7 +24,7 @@ sc_tight_scope: $(all_programs) ( printf '^main$$\n^usage$$\n'; \ grep -h -A1 '^extern .*[^;]$$' $(SOURCES) \ | grep -vE '^(extern |--)' |sed 's/^/^/;s/ .*/$$/' ) > $$t; \ - nm -e *.$(OBJEXT) \ + nm -e *.$(OBJEXT) ../libidu/*.$(OBJEXT) \ | sed -n 's/.* T //p' \ | grep -Ev -f $$t && \ { echo 'the above functions should have static scope' 1>&2; \ @@ -32,7 +32,7 @@ sc_tight_scope: $(all_programs) ( printf '^program_name$$\n'; \ sed -n 's/^extern int \([^ ][^ ]*\);$$/^\1$$/p' \ $(noinst_HEADERS) /dev/null ) > $$t; \ - nm -e *.$(OBJEXT) \ + nm -e *.$(OBJEXT) ../libidu/*.$(OBJEXT) \ | sed -n 's/.* [BD] //p' \ | grep -Ev -f $$t && \ { echo 'the above variables should have static scope' 1>&2; \ |