mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-31 13:52:29 +00:00
Clean up MAIKO_HANDLE_CONSOLE_MESSAGES some. (#331)
* `LOGINT` is only useful when `MAIKO_HANDLE_CONSOLE_MESSAGES` is set. * Only define some variables if `MAIKO_HANDLE_CONSOLE_MESSAGES` is set. Flag them as static. * Remove setting `LOGINT` from the build system as it isn't needed because we aren't handling console messages.
This commit is contained in:
14
src/osmsg.c
14
src/osmsg.c
@@ -53,17 +53,19 @@
|
||||
#include <stropts.h>
|
||||
#endif
|
||||
|
||||
#ifdef MAIKO_HANDLE_CONSOLE_MESSAGES
|
||||
#define MESSAGE_BUFFER_SIZE 1024
|
||||
int cons_tty;
|
||||
int cons_pty;
|
||||
static int cons_tty;
|
||||
static int cons_pty;
|
||||
|
||||
char logfile[100];
|
||||
int log_id;
|
||||
int previous_size;
|
||||
int logChanged; /* T if log file has changed since last READ */
|
||||
static char logfile[100];
|
||||
static int log_id;
|
||||
static int previous_size;
|
||||
static int logChanged; /* T if log file has changed since last READ */
|
||||
/* Set by flush_pty, to avoid the stat call */
|
||||
int LogFileFd = -1;
|
||||
extern fd_set LispReadFds;
|
||||
#endif
|
||||
|
||||
/************************************************************************/
|
||||
/* */
|
||||
|
||||
Reference in New Issue
Block a user