]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: clean up header file
authorKarel Zak <kzak@redhat.com>
Fri, 15 Mar 2013 13:23:04 +0000 (14:23 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 15 Mar 2013 13:59:22 +0000 (14:59 +0100)
commita3bb7e65c426d21f619894e2b1dde5f07128a019
treeca0b8797f32d46203b81072cc44e9096dbc4612e
parent2bb7a706a19b3473b06c2f365994660c89c4bc87
libmount: clean up header file

 * don't teach people C by header files, so use warn_unused_result
   attribute only on places where we return allocated memory (to avoid
   leaks in applications).

 * merge multiple function attributes to the one list to make it
   usable with gtk-doc

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/docs/libmount-sections.txt
libmount/src/fs.c
libmount/src/libmount.h.in