]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: make libmount.h consistent with code
authorKarel Zak <kzak@redhat.com>
Mon, 25 Mar 2013 12:40:06 +0000 (13:40 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 25 Mar 2013 12:40:06 +0000 (13:40 +0100)
commitece5d1136b3747be0a1279bc9956d34426ccbe78
treeeb0a130c7e0314a40e9c32bf2b496aafda3daa59
parent52a285bf4e8d3a78d7211694977f5894a748bdac
libmount: make libmount.h consistent with code

The function with nonnull attribute are silently optimized by gcc so
all "if (foo)" are removed if the "foo" is expected as non-null. It
make the code less usable and robust in some situations.

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/libmount.h.in