diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2002-09-25 06:08:19 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2002-09-25 06:08:19 +0000 |
commit | 5a66b640f963ff48a06e3649a6df76819963508b (patch) | |
tree | 30ceff6b52bad55aa348f0d15e7fe842fc7e25fa | |
parent | 69eab26401db425cf27915a675953e2ac33ee0e5 (diff) | |
download | busybox-5a66b640f963ff48a06e3649a6df76819963508b.tar.gz |
Reverse some minor changes that got caught up in my big unarchive patch
-rw-r--r-- | include/libbb.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libbb.h b/include/libbb.h index bd0d1e942..9dbbb47ce 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -48,6 +48,10 @@ # include "sha1.h" #endif +/* Compatability with ANSI C */ +#ifndef inline +# define inline +#endif #if (__GNU_LIBRARY__ < 5) && (!defined __dietlibc__) /* libc5 doesn't define socklen_t */ @@ -70,9 +74,6 @@ char *strtok_r(char *s, const char *delim, char **ptrptr); #define BUF_SIZE 8192 #define EXPAND_ALLOC 1024 -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 #define MIN(a,b) (((a)<(b))?(a):(b)) @@ -329,7 +330,6 @@ extern char *pw_encrypt(const char *clear, const char *salt); extern struct spwd *pwd_to_spwd(const struct passwd *pw); extern int obscure(const char *old, const char *newval, const struct passwd *pwdp); -//extern int xopen(const char *pathname, int flags, mode_t mode); extern int xopen(const char *pathname, int flags); extern ssize_t xread(int fd, void *buf, size_t count); extern ssize_t xread_all_eof(int fd, void *buf, size_t count); |