diff options
author | Michael Adam <obnox@samba.org> | 2009-08-28 16:04:47 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-09-11 15:31:24 +0200 |
commit | f0e276cff896bb40941357a27c0ff1cd772ba8b4 (patch) | |
tree | f1b0992976c2bb297b19cffc4e7c39c57daee9b0 /lib/tevent/abi_checks.sh | |
parent | 31ee07293420a6faae53ad71e3517a332cd45006 (diff) | |
download | samba-f0e276cff896bb40941357a27c0ff1cd772ba8b4.tar.gz samba-f0e276cff896bb40941357a27c0ff1cd772ba8b4.tar.bz2 samba-f0e276cff896bb40941357a27c0ff1cd772ba8b4.zip |
tevent: move the original abi_checks script to script/abi_checks_gcc.sh
Michael
Diffstat (limited to 'lib/tevent/abi_checks.sh')
-rwxr-xr-x | lib/tevent/abi_checks.sh | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/lib/tevent/abi_checks.sh b/lib/tevent/abi_checks.sh deleted file mode 100755 index 95182097d5..0000000000 --- a/lib/tevent/abi_checks.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash -make clean - -mkdir abi -ABI_CHECKS="-aux-info abi/\$@.X" -make ABI_CHECK="$ABI_CHECKS" CC="/usr/bin/gcc" - -for i in abi/*.X; do cat $i | grep 'tevent\.h'; done | sort | uniq | awk -F "extern " '{ print $2 }' | sort> abi/signatures - -cat > abi/exports << EOF -{ - global: -EOF -cat abi/signatures | awk -F '(' '{ print $1 }' | awk -F ' ' '{ print " "$NF";" }' | tr -d '*' | sort >> abi/exports -cat >> abi/exports << EOF - - local: *; -}; -EOF - -rm -fr abi/*.X - -diff -u tevent.signatures abi/signatures -if [ "$?" != "0" ]; then - echo "WARNING: Possible ABI Change!!" -fi - -diff -u tevent.exports abi/exports -if [ "$?" != "0" ]; then - echo "WARNING: Export file may be outdated!!" -fi |