diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2018-01-22 01:50:10 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2018-01-22 01:50:10 +0000 |
commit | b8d1747e755f88c678adc272fb4d356715288197 (patch) | |
tree | 1c25cd0331b7a3f3bbb2c54d6c708c9de9706155 /include | |
parent | d26c97e2fbe3436e8af35cfcd42ecf79989ba5b1 (diff) | |
download | src-test2-b8d1747e755f88c678adc272fb4d356715288197.tar.gz src-test2-b8d1747e755f88c678adc272fb4d356715288197.zip |
Notes
Diffstat (limited to 'include')
-rw-r--r-- | include/stdlib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index b2fc90934f85..d38952e15629 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -92,7 +92,7 @@ long atol(const char *); void *bsearch(const void *, const void *, size_t, size_t, int (*)(const void * _Nonnull, const void *)); void *calloc(size_t, size_t) __malloc_like __result_use_check - __alloc_size(1) __alloc_size(2); + __alloc_size2(1, 2); div_t div(int, int) __pure2; _Noreturn void exit(int); void free(void *); @@ -302,8 +302,8 @@ void qsort_r(void *, size_t, size_t, void *, int (*)(void *, const void *, const void *)); int radixsort(const unsigned char **, int, const unsigned char *, unsigned); -void *reallocarray(void *, size_t, size_t) __result_use_check __alloc_size(2) - __alloc_size(3); +void *reallocarray(void *, size_t, size_t) __result_use_check + __alloc_size2(2, 3); void *reallocf(void *, size_t) __result_use_check __alloc_size(2); int rpmatch(const char *); void setprogname(const char *); |