summaryrefslogtreecommitdiff
path: root/libbb/libbb.h
diff options
context:
space:
mode:
authorEric Andersen2001-04-18 20:17:05 +0000
committerEric Andersen2001-04-18 20:17:05 +0000
commitb5ec61e4f5365368a005faf6d6e5bd180dcc8dab (patch)
tree26096d9475373a25e3f2f1f41c2ef8f7ac10c6b3 /libbb/libbb.h
parent53265546a69d5810d5e19b22d6a5095f04eca6be (diff)
downloadbusybox-b5ec61e4f5365368a005faf6d6e5bd180dcc8dab.zip
busybox-b5ec61e4f5365368a005faf6d6e5bd180dcc8dab.tar.gz
Add types for the inline funcs, thanks to Ralph Siemsen <ralphs@netwinder.org>
Diffstat (limited to 'libbb/libbb.h')
-rw-r--r--libbb/libbb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/libbb.h b/libbb/libbb.h
index 4b06ad1..19de73c 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