]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: clean nonnull attribute usage
authorKarel Zak <kzak@redhat.com>
Tue, 4 Dec 2012 13:22:39 +0000 (14:22 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 4 Dec 2012 13:22:39 +0000 (14:22 +0100)
commitba2bdf41c436640286df40529cddede46b3ba5d8
tree2fd343c6a2450b4566ca996ff2f0c9703bc2e680
parentf4388dea5f8685149ca370279760b83cc98ccb7e
libmount: clean nonnull attribute usage

 - use __attribute__((nonnull) for functions where we not able to
   return an return code ("is", "has" and some "get" functions).

 - use __attribute__((nonnull) for small functions where we
   always modify any of the function argument (some mnt_optstr_* functions)

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context.c
libmount/src/context_loopdev.c
libmount/src/fs.c
libmount/src/iter.c
libmount/src/libmount.h.in
libmount/src/lock.c
libmount/src/mountP.h
libmount/src/optstr.c
libmount/src/tab_parse.c
libmount/src/tab_update.c
libmount/src/utils.c