From e1e81a1fa579341a5052cc9b9275c30445fcc567 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 16 Dec 2024 16:55:00 -0500 Subject: fix prototype for next_normal_hilite(); commentary --- uxd.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/uxd.c b/uxd.c index 6ea3897..183c422 100644 --- a/uxd.c +++ b/uxd.c @@ -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; } -- cgit v1.2.3