diff options
author | H. Peter Anvin <hpa@zytor.com> | 2017-04-23 23:37:11 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2017-04-23 23:37:11 -0700 |
commit | 6e11b2cc544572d5283e2c584ab95bcaf17997a7 (patch) | |
tree | 40198af69a9b77f25c1b06eb6bd1d443b599e28b /include/raa.h | |
parent | 40f0a7495aa1353d90c8fb68912b82c3af2ff01d (diff) | |
download | nasm-6e11b2cc544572d5283e2c584ab95bcaf17997a7.tar.gz |
saa, raa: saa_init() and raa_init() will never return NULL
Like other NASM allocation functions, these will abort rather than
ever return NULL.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'include/raa.h')
-rw-r--r-- | include/raa.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/raa.h b/include/raa.h index 22c4537b..1ef5cc15 100644 --- a/include/raa.h +++ b/include/raa.h @@ -38,7 +38,7 @@ struct RAA; -struct RAA *raa_init(void); +struct RAA * never_null raa_init(void); void raa_free(struct RAA *); int64_t raa_read(struct RAA *, int32_t); struct RAA *raa_write(struct RAA *r, int32_t posn, int64_t value); |