Add a type to force g.{command_count,last_command_count,multi} to have the
same type (because cmd.c: g.multi = g.command_count;) and some resulting
cleanup.
extern boolean redraw_cmd(char);
extern const char *levltyp_to_name(int);
extern void reset_occupations(void);
-extern void set_occupation(int(*)(void), const char *, int);
+extern void set_occupation(int(*)(void), const char *, cmdcount_t);
extern void cmdq_add_ec(int(*)(void));
extern void cmdq_add_key(char);
extern struct _cmd_queue *cmdq_pop(void);
* function times out by its own means.
*/
void
-set_occupation(int (*fn)(void), const char *txt, int xtime)
+set_occupation(int (*fn)(void), const char *txt, cmdcount_t xtime)
{
if (xtime) {
g.occupation = timed_occupation;