aboutsummaryrefslogtreecommitdiff
path: root/avahi-python
diff options
context:
space:
mode:
authorRobert Ginda <rginda@chromium.org>2015-08-04 15:24:15 -0700
committerRobert Ginda <rginda@chromium.org>2015-08-11 11:16:45 -0700
commit8e46e738cae449bf44232c66e973c8e9e15fbcb5 (patch)
tree79c6f758aaa9ae4de20ea966235f0c0272c88a4f /avahi-python
parent57cc59c1868f186da5b9dc3fc63dbab3fe2ce54c (diff)
downloadavahi-8e46e738cae449bf44232c66e973c8e9e15fbcb5.tar.gz
rename avahi-common/malloc.[ch] to avahi-malloc.
This is to avoid clashing with the system malloc.h, which occurs in an android build beacause of the order of the generated includes. This change was generated with the script: cat > rename_malloc.sh <<EOF replace() { local search="$1" local replace="$2" FILES=$(grep -l "$search" $(find . -name '*.[ch]')) for file in $FILES; do echo $file sed "s|$search|$replace|" < $file > sed.tmp mv sed.tmp $file done } replace "include \"malloc.h\"" "include \"avahi-malloc.h\"" replace "include \"avahi-common/malloc.h\"" \ "include \"avahi-common/avahi-malloc.h\"" replace "include <avahi-common/malloc.h>" \ "include \"avahi-common/avahi-malloc.h\"" EOF Bug: 22827641 Change-Id: I1eeb4a57993650d8aae62f0686942cfac367b9a8
Diffstat (limited to 'avahi-python')
0 files changed, 0 insertions, 0 deletions