git: <sys/cdefs.h>: Add a __heedresult macro to warn of discarded return values.
Sascha Wildner
swildner at crater.dragonflybsd.org
Tue Feb 18 14:41:05 PST 2014
commit 960a52dd35f62362336f943f935675615da498f4
Author: Sascha Wildner <saw at online.de>
Date: Tue Feb 18 23:24:46 2014 +0100
<sys/cdefs.h>: Add a __heedresult macro to warn of discarded return values.
It's an alias for __attribute__((__warn_unused_result__)) and can be used
to mark functions whose return value must never be ignored by the calling
code.
Summary of changes:
sys/sys/cdefs.h | 3 +++
1 file changed, 3 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/960a52dd35f62362336f943f935675615da498f4
--
DragonFly BSD source repository
More information about the Commits
mailing list