From: Eric Andersen Date: Wed, 18 Apr 2001 20:17:05 +0000 (-0000) Subject: Add types for the inline funcs, thanks to Ralph Siemsen X-Git-Tag: 0_52~327 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b5ec61e4f5365368a005faf6d6e5bd180dcc8dab;p=oweals%2Fbusybox.git Add types for the inline funcs, thanks to Ralph Siemsen --- 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); #define BUF_SIZE 8192 #define EXPAND_ALLOC 1024 -static inline int is_decimal(ch) { return ((ch >= '0') && (ch <= '9')); } -static inline int is_octal(ch) { return ((ch >= '0') && (ch <= '7')); } +static inline int is_decimal(int ch) { return ((ch >= '0') && (ch <= '9')); } +static inline int is_octal(int ch) { return ((ch >= '0') && (ch <= '7')); } /* Macros for min/max. */ #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); #define BUF_SIZE 8192 #define EXPAND_ALLOC 1024 -static inline int is_decimal(ch) { return ((ch >= '0') && (ch <= '9')); } -static inline int is_octal(ch) { return ((ch >= '0') && (ch <= '7')); } +static inline int is_decimal(int ch) { return ((ch >= '0') && (ch <= '9')); } +static inline int is_octal(int ch) { return ((ch >= '0') && (ch <= '7')); } /* Macros for min/max. */ #ifndef MIN