Document the mallinfo struct, add missing attributes.

Change-Id: Ia97acce1f6a83bd8b3ba8dd20efd962bc96f35a9
This commit is contained in:
Elliott Hughes
2013-02-04 13:44:14 -08:00
parent a3120aaf2f
commit 24fad01755
2 changed files with 24 additions and 18 deletions

View File

@@ -321,6 +321,12 @@
#define __always_inline
#endif
#if __GNUC_PREREQ__(3, 4)
#define __wur __attribute__((__warn_unused_result__))
#else
#define __wur
#endif
/*
* Macros for manipulating "link sets". Link sets are arrays of pointers
* to objects, which are gathered up by the linker.