Add types for the inline funcs, thanks to Ralph Siemsen <ralphs@netwinder.org>

This commit is contained in:
Eric Andersen 2001-04-18 20:17:05 +00:00
parent 53265546a6
commit b5ec61e4f5
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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