diff options
-rw-r--r-- | include/libbb.h | 4 | ||||
-rw-r--r-- | libbb/libbb.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/libbb.h b/include/libbb.h index 4b06ad12c..19de73ca9 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -54,8 +54,8 @@ extern int daemon (int nochdir, int noclose); | |||
54 | #define BUF_SIZE 8192 | 54 | #define BUF_SIZE 8192 |
55 | #define EXPAND_ALLOC 1024 | 55 | #define EXPAND_ALLOC 1024 |
56 | 56 | ||
57 | static inline int is_decimal(ch) { return ((ch >= '0') && (ch <= '9')); } | 57 | static inline int is_decimal(int ch) { return ((ch >= '0') && (ch <= '9')); } |
58 | static inline int is_octal(ch) { return ((ch >= '0') && (ch <= '7')); } | 58 | static inline int is_octal(int ch) { return ((ch >= '0') && (ch <= '7')); } |
59 | 59 | ||
60 | /* Macros for min/max. */ | 60 | /* Macros for min/max. */ |
61 | #ifndef MIN | 61 | #ifndef MIN |
diff --git a/libbb/libbb.h b/libbb/libbb.h index 4b06ad12c..19de73ca9 100644 --- a/libbb/libbb.h +++ b/libbb/libbb.h | |||
@@ -54,8 +54,8 @@ extern int daemon (int nochdir, int noclose); | |||
54 | #define BUF_SIZE 8192 | 54 | #define BUF_SIZE 8192 |
55 | #define EXPAND_ALLOC 1024 | 55 | #define EXPAND_ALLOC 1024 |
56 | 56 | ||
57 | static inline int is_decimal(ch) { return ((ch >= '0') && (ch <= '9')); } | 57 | static inline int is_decimal(int ch) { return ((ch >= '0') && (ch <= '9')); } |
58 | static inline int is_octal(ch) { return ((ch >= '0') && (ch <= '7')); } | 58 | static inline int is_octal(int ch) { return ((ch >= '0') && (ch <= '7')); } |
59 | 59 | ||
60 | /* Macros for min/max. */ | 60 | /* Macros for min/max. */ |
61 | #ifndef MIN | 61 | #ifndef MIN |