From c12f53090bd41dbb87279083bc442769cb0610f0 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 6 Oct 2006 09:49:47 +0000 Subject: dnsd fix; option_mask32 added. dnsd needs more love. --- include/libbb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/libbb.h') diff --git a/include/libbb.h b/include/libbb.h index adfeca590..84c8af4b6 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -206,9 +206,10 @@ extern void xsetgid(gid_t gid); extern void xsetuid(uid_t uid); extern off_t fdlength(int fd); -#define BB_GETOPT_ERROR 0x80000000UL +enum { BB_GETOPT_ERROR = 0x80000000 }; extern const char *opt_complementary; extern const struct option *applet_long_options; +extern uint32_t option_mask32; extern uint32_t getopt32(int argc, char **argv, const char *applet_opts, ...); extern int bb_vfprintf(FILE * __restrict stream, const char * __restrict format, -- cgit v1.2.3