add/remove defines to handle more e2fsprogs

This commit is contained in:
Mike Frysinger 2005-05-07 06:49:54 +00:00
parent 9c85ecdef4
commit ba3a01f5e0

View File

@ -25,12 +25,13 @@
typedef long errcode_t; typedef long errcode_t;
#define ERRCODE_RANGE 8 #define ERRCODE_RANGE 8
#define error_message(code) strerror((int) (code & ((1<<ERRCODE_RANGE)-1))) #define error_message(code) strerror((int) (code & ((1<<ERRCODE_RANGE)-1)))
#define initialize_ext2_error_table(x)
/* NLS crap */ /* NLS crap */
#define _(x) x #define _(x) x
#define N_(x) x
/* misc crap */ /* misc crap */
#define fputs(msg, fd) bb_error_msg(msg)
#define fatal_error(msg, err) bb_error_msg_and_die(msg) #define fatal_error(msg, err) bb_error_msg_and_die(msg)
#define usage() bb_show_usage() #define usage() bb_show_usage()
#define perror(msg) bb_perror_msg(msg) #define perror(msg) bb_perror_msg(msg)