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
strutil8bit.c:58:1: error: unused function 'char_isalpha' [-Wunused-function]
strutil8bit.c:59:1: error: unused function 'char_isascii' [-Wunused-function]
strutil8bit.c:60:1: error: unused function 'char_isblank' [-Wunused-function]
strutil8bit.c:61:1: error: unused function 'char_iscntrl' [-Wunused-function]
strutil8bit.c:63:1: error: unused function 'char_isgraph' [-Wunused-function]
strutil8bit.c:64:1: error: unused function 'char_islower' [-Wunused-function]
strutil8bit.c:68:1: error: unused function 'char_isupper' [-Wunused-function]
strutil8bit.c:69:1: error: unused function 'char_isxdigit' [-Wunused-function]
util.c:83:1: error: unused function 'is_7bit_printable' [-Wunused-function]
Signed-off-by: Andreas Mohr <and@gmx.li>
a
|
b
|
|
55 | 55 | |
56 | 56 | /* *INDENT-OFF* */ |
57 | 57 | DECLARE_CTYPE_WRAPPER (isalnum) |
58 | | DECLARE_CTYPE_WRAPPER (isalpha) |
59 | | DECLARE_CTYPE_WRAPPER (isascii) |
60 | | DECLARE_CTYPE_WRAPPER (isblank) |
61 | | DECLARE_CTYPE_WRAPPER (iscntrl) |
62 | 58 | DECLARE_CTYPE_WRAPPER (isdigit) |
63 | | DECLARE_CTYPE_WRAPPER (isgraph) |
64 | | DECLARE_CTYPE_WRAPPER (islower) |
65 | 59 | DECLARE_CTYPE_WRAPPER (isprint) |
66 | 60 | DECLARE_CTYPE_WRAPPER (ispunct) |
67 | 61 | DECLARE_CTYPE_WRAPPER (isspace) |
68 | | DECLARE_CTYPE_WRAPPER (isupper) |
69 | | DECLARE_CTYPE_WRAPPER (isxdigit) |
70 | 62 | DECLARE_CTYPE_WRAPPER (toupper) |
71 | 63 | DECLARE_CTYPE_WRAPPER (tolower) |
72 | 64 | /* *INDENT-ON* */ |