From 348e84c202c4946d3694f130a6f81f61eb1d4b9e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 11 May 2005 00:39:03 +0000 Subject: change the hardcoded error constant (0x80000000UL) to a nice flexible define (BB_GETOPT_ERROR) --- include/libbb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index ac60dd6c2..1aa7b41bd 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -151,6 +151,7 @@ extern FILE *bb_xfopen(const char *path, const char *mode); extern int bb_fclose_nonstdin(FILE *f); extern void bb_fflush_stdout_and_exit(int retval) __attribute__ ((noreturn)); +#define BB_GETOPT_ERROR 0x80000000UL extern const char *bb_opt_complementaly; extern const struct option *bb_applet_long_options; extern unsigned long bb_getopt_ulflags(int argc, char **argv, const char *applet_opts, ...); -- cgit v1.2.3