Don't infringe on POSIX typedef namespace.

This commit is contained in:
nhkeni
2022-03-16 21:31:26 -04:00
parent 3e4ea0a2c3
commit 1e31fee0df
3 changed files with 8 additions and 8 deletions

View File

@@ -675,7 +675,7 @@ struct _cmd_queue {
struct _cmd_queue *next;
};
typedef long cmdcount_t; /* Command counts */
typedef long cmdcount_nht; /* Command counts */
/*
* 'g' -- instance_globals holds engine state that does not need to be
@@ -732,7 +732,7 @@ struct instance_globals {
coord clicklook_cc;
winid en_win;
boolean en_via_menu;
cmdcount_t last_command_count;
cmdcount_nht last_command_count;
struct ext_func_tab *ext_tlist; /* info for rhack() from doextcmd() */
/* dbridge.c */
@@ -745,9 +745,9 @@ struct instance_globals {
int hackpid; /* current process id */
char chosen_windowtype[WINTYPELEN];
int bases[MAXOCLASSES + 1];
cmdcount_t multi;
cmdcount_nht multi;
char command_line[COLNO];
cmdcount_t command_count;
cmdcount_nht command_count;
const char *multi_reason;
char multireasonbuf[QBUFSZ]; /* note: smaller than usual [BUFSZ] */
int nroom;