]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
misc: fix compile warnings on OSX
authorAndreas Dilger <adilger@whamcloud.com>
Sat, 11 Jun 2011 15:50:01 +0000 (11:50 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 11 Jun 2011 15:50:01 +0000 (11:50 -0400)
commita1a769987b0604d8836541cefe89661ec8db02c7
treebf73eadee99a000c1a043e9fa411e88aa7300f6d
parent65d05cec3d4ae02dec1b15dfec21e571cb83c9cf
misc: fix compile warnings on OSX

The BLKFLSBUF and FDFLUSH ioctls are Linux specific, and do not
really have anything to do with __GNUC__ (which is also used on
OS/X and Solaris).  Only print these warnings on Linux systems.

statfs64() is deprecated on OSX and generates a deliberate warning.
Fix some other warnings that show up on OSX builds.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/e2p/fgetflags.c
lib/e2p/fsetflags.c
lib/e2p/getflags.c
lib/e2p/setflags.c
lib/ext2fs/flushb.c
lib/ext2fs/getsize.c