diff options
author | Dan McGee <dan@archlinux.org> | 2012-04-29 23:40:06 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-29 23:40:06 -0500 |
commit | 5a9f5c60dae8d173e9e2f6da78499c046600e6ca (patch) | |
tree | 03026ea9b58078964d6b7c6be67378adf17d0610 /m4/ltsugar.m4 | |
parent | 4d3170978711a91f1afe8ffef9dad9c2bc60585d (diff) | |
download | pacman-5a9f5c60dae8d173e9e2f6da78499c046600e6ca.tar.xz |
Convert ALLOC_FAIL macro into a function
This path is rarely (read: never) taken in any normal run of the code,
so injecting the fprintf() call everywhere with the macro is a bit
overkill. Instead, add a lightweight _alpm_alloc_fail() function that
gets called instead.
This does have a reasonable effect on the size of the generated code;
most places using the macros provided by util.c have their code size
reduced.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'm4/ltsugar.m4')
0 files changed, 0 insertions, 0 deletions