diff options
-rw-r--r-- | uxd.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -46,8 +46,11 @@ extern int optind; #define BUFSIZ 4096 #endif +/* environment variables. */ #define NO_COLOR "NO_COLOR" #define ENV_OPTS "UXD_OPTS" + +/* maximum number of arguments, including environment and argv. */ #define MAX_ARGS 64 /* ANSI colors */ @@ -68,7 +71,8 @@ int special_color = PURPLE; /* toggles between 0 and 1 for each normal character */ int cur_normal_hilite = 0; -/* highlight types */ +/* highlight types. HL_NORM_INV is only used for the hex bytes, not + the human-readable right column. */ #define HL_NORMAL 0 #define HL_NORM_INV 1 #define HL_SPECIAL 2 @@ -347,7 +351,7 @@ void print_line(void) { dump_column = 0; } -void next_normal_hilite() { +void next_normal_hilite(void) { if(alternate_colors) cur_normal_hilite = !cur_normal_hilite; } |