pointer decl style consistency; use any_types enum

This commit is contained in:
nhmall
2025-03-06 07:20:16 -05:00
parent 78ca37290b
commit ceee6aff31
8 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -249,7 +249,7 @@ enum hlattribs {
struct hilite_s { struct hilite_s {
enum statusfields fld; enum statusfields fld;
boolean set; boolean set;
unsigned anytype; enum any_types anytype;
anything value; anything value;
int behavior; int behavior;
char textmatch[MAXVALWIDTH]; char textmatch[MAXVALWIDTH];
@@ -271,7 +271,7 @@ struct istat_s {
boolean chg; /* need to recalc time? */ boolean chg; /* need to recalc time? */
boolean percent_matters; boolean percent_matters;
short percent_value; short percent_value;
unsigned anytype; enum any_types anytype;
anything a, rawval; anything a, rawval;
char *val; char *val;
int valwidth; int valwidth;
+1 -1
View File
@@ -230,7 +230,7 @@ static const struct instance_globals_a g_init_a = {
static const struct instance_globals_b g_init_b = { static const struct instance_globals_b g_init_b = {
/* botl.c */ /* botl.c */
{ { { NULL, NULL, 0L, FALSE, FALSE, 0, 0U, { 0 }, { 0 }, NULL, 0, 0, 0 { { { NULL, NULL, 0L, FALSE, FALSE, 0, ANY_INVALID, { 0 }, { 0 }, NULL, 0, 0, 0
#ifdef STATUS_HILITES #ifdef STATUS_HILITES
, UNDEFINED_PTR, UNDEFINED_PTR , UNDEFINED_PTR, UNDEFINED_PTR
#endif #endif