diff options
author | B. Watson <urchlay@slackware.uk> | 2024-12-16 16:55:00 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-12-16 16:55:00 -0500 |
commit | e1e81a1fa579341a5052cc9b9275c30445fcc567 (patch) | |
tree | 3bcb8d9fbd67112939d6edea981032c56d5df170 | |
parent | 8ce66856f9e946a08593002672aa017a6e883e54 (diff) | |
download | uxd-e1e81a1fa579341a5052cc9b9275c30445fcc567.tar.gz |
fix prototype for next_normal_hilite(); commentary
-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; } |