xmalloc: Add attribute warn_unused_result to allocation functions
commitbb77b49265877b68fc316d11a719527ecf91d594
authorTobias Klauser <tklauser@distanz.ch>
Tue, 7 Apr 2015 12:36:16 +0000 (7 14:36 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Tue, 7 Apr 2015 12:41:45 +0000 (7 14:41 +0200)
treef76e62ea1cf39b54d9f0b486745f97648b3f8f6a
parent87103d95678b0e6c784909e0bc610ed7ae02d2c9
xmalloc: Add attribute warn_unused_result to allocation functions

Add the warn_unused_result GCC function attribute to all allocation
functions in xmalloc.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
built_in.h
xmalloc.h