diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-12-31 18:40:07 +0400 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-12-31 18:40:12 +0400 |
commit | 59000546c02a0d486a8a6bbfaf12a8d3910f2ea2 (patch) | |
tree | 52a4ada40c195f875ae1f8417036ba416307a71a /utils.h | |
parent | 9c8ab5d64cb1bfc6f8a235af5913ed3537c38e2a (diff) |
utils: make it unnecessary to specify the last NULL argument for calloc_a
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ * the last argument needs to be a NULL pointer */ -#define calloc_a(len, ...) __calloc_a(len, ##__VA_ARGS__) +#define calloc_a(len, ...) __calloc_a(len, ##__VA_ARGS__, NULL) void *__calloc_a(size_t len, ...); |