sim: use pid_t where appropiate

This commit is contained in:
Darryl L. Miles 2025-01-31 19:50:25 +00:00 committed by R. Timothy Edwards
parent 559eb94f3e
commit b5ac7e4f92
1 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ static char keyBoardBuf[BUF_SIZE];
static bool RsimJustStarted = TRUE; static bool RsimJustStarted = TRUE;
static char rsim_prompt[20]; static char rsim_prompt[20];
static int prompt_len; static int prompt_len;
static int rsim_pid; static pid_t rsim_pid;
bool SimRsimRunning = FALSE; bool SimRsimRunning = FALSE;
bool SimHasCoords = FALSE; bool SimHasCoords = FALSE;
@ -156,7 +156,7 @@ SimStartRsim(
char *argv[]) /* list of rsim args for the fork */ char *argv[]) /* list of rsim args for the fork */
{ {
int child; pid_t child;
int magToRsimPipe[2]; int magToRsimPipe[2];
int rsimToMagPipe[2]; int rsimToMagPipe[2];
char *getenv(); char *getenv();
@ -465,7 +465,7 @@ InitRsim(
void void
SimStopRsim(void) SimStopRsim(void)
{ {
int pid; pid_t pid;
if (SimRsimRunning) { if (SimRsimRunning) {