fix clang 3.6 compiler warnings
patch 01: -Wundef
patch 02: -Wunused-function
patch 03: -Wnon-literal-null-conversion
patch 04: -Wmissing-field-initializers
patch 05: -Wabsolute-value
patch 06: -Wtautological-pointer-compare
patch 07: -Wformat
../../lib/vfs/vfs.h:44:6: error: 'O_NDELAY' is not defined, evaluates to 0 [-Wundef]
Signed-off-by: Andreas Mohr <and@gmx.li>
a
|
b
|
|
6 | 6 | |
7 | 7 | #ifndef MC_GLOBAL_H |
8 | 8 | #define MC_GLOBAL_H |
| 9 | #ifdef HAVE_FCNTL_H |
| 10 | #include <fcntl.h> |
| 11 | #endif |
9 | 12 | |
10 | 13 | #if defined(HAVE_STRING_H) |
11 | 14 | #include <string.h> |