summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-08-23 07:22:48 +0000
committerAndreas Jaeger <aj@suse.de>2000-08-23 07:22:48 +0000
commitd6585e0b91f3348822add766da656eeec0302be0 (patch)
treef2a0a7ce21331952e759e4954f6efee15f23f52b
parentbe2623ae79d7d9dcce9e41c04eb96da98bd3b33c (diff)
downloadglibc-d6585e0b91f3348822add766da656eeec0302be0.tar.gz
glibc-d6585e0b91f3348822add766da656eeec0302be0.tar.xz
glibc-d6585e0b91f3348822add766da656eeec0302be0.zip
Update.
2000-08-23  Andreas Jaeger  <aj@suse.de>

	* 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.
-rw-r--r--ChangeLog14
-rw-r--r--include/stdlib.h3
2 files changed, 16 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 96ee1b732c..1715b5d1e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2000-08-23  Andreas Jaeger  <aj@suse.de>
+
+	* 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.
+
 2000-08-23  Jakub Jelinek  <jakub@redhat.com>
 
 	* inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
diff --git a/include/stdlib.h b/include/stdlib.h
index 1bd7904672..2ca8ca1743 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