From d6585e0b91f3348822add766da656eeec0302be0 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 23 Aug 2000 07:22:48 +0000 Subject: Update. 2000-08-23 Andreas Jaeger * include/wchar.h: Add some pure attributes. * time/time.h: Add const attribute for dysize. * include/stdlib.h: Add malloc attribute to __posix memalign. * stdlib/stdlib.h: Add some pure and malloc attributes. * wcsmbs/wchar.h: Likewise. * dirent/dirent.h: Add some pure attributes. * include/dirent.h: Likewise. --- include/stdlib.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/stdlib.h') diff --git a/include/stdlib.h b/include/stdlib.h index 1bd7904..2ca8ca1 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -55,7 +55,8 @@ extern void _quicksort (void *const pbase, size_t total_elems, extern int __cxa_atexit (void (*func) (void *), void *arg, void *d); -extern int __posix_memalign (void **memptr, size_t alignment, size_t size); +extern int __posix_memalign (void **memptr, size_t alignment, size_t size) + __attribute_malloc__; #endif #undef __Need_M_And_C -- cgit v1.1