diff options
author | Simo Sorce <idra@samba.org> | 2009-07-02 09:29:20 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-07-03 08:45:29 -0400 |
commit | 2738178d1301f9c1c4144c7472c9419911cd816e (patch) | |
tree | 7e40836e4677f27d4b7244c462cc71ff80a7820b /lib/talloc/abi_checks.sh | |
parent | b54e48b830dbc3d66f9de5d2711a57a1630809e2 (diff) | |
download | samba-2738178d1301f9c1c4144c7472c9419911cd816e.tar.gz samba-2738178d1301f9c1c4144c7472c9419911cd816e.tar.bz2 samba-2738178d1301f9c1c4144c7472c9419911cd816e.zip |
Restore ABI compatibility for talloc.
Diffstat (limited to 'lib/talloc/abi_checks.sh')
-rwxr-xr-x | lib/talloc/abi_checks.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/talloc/abi_checks.sh b/lib/talloc/abi_checks.sh index 432cc87745..e3d3b042fa 100755 --- a/lib/talloc/abi_checks.sh +++ b/lib/talloc/abi_checks.sh @@ -4,15 +4,17 @@ make clean mkdir abi ABI_CHECKS="-aux-info abi/\$@.X" -make ABI_CHECK="$ABI_CHECKS" +make ABI_CHECK="$ABI_CHECKS" CC="/usr/bin/gcc" -for i in abi/*.X; do cat $i | grep 'talloc\.h'; done | sort | uniq | awk -F "extern " '{ print $2 }' > abi/signatures +for i in abi/*.X; do cat $i | grep 'talloc\.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 +# need to manually add talloc free for backward ABI compat +echo ' talloc_free;' >> abi/exports cat >> abi/exports << EOF local: *; |