about summary refs log tree commit diff
path: root/include/resolv.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-20 16:16:33 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-20 16:16:33 -0500
commit26031da0f83a2a3ed52190077931ee6c18dfd689 (patch)
treef1cefeef545766d941e9f0fe1377e9db46ce8aad /include/resolv.h
parent598a0147cde14d093d17b81c102a1757b5ef9975 (diff)
downloadmusl-26031da0f83a2a3ed52190077931ee6c18dfd689.tar.gz
musl-26031da0f83a2a3ed52190077931ee6c18dfd689.tar.xz
musl-26031da0f83a2a3ed52190077931ee6c18dfd689.zip
make malloc(0) return unique pointers rather than NULL
this change is made with some reluctance, but i think it's for the
best. correct programs must handle either behavior, so there is little
advantage to having malloc(0) return NULL. and i managed to actually
make the malloc code slightly smaller with this change.
Diffstat (limited to 'include/resolv.h')
0 files changed, 0 insertions, 0 deletions