mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 01:24:51 +02:00
sim: use pid_t where appropiate
This commit is contained in:
committed by
R. Timothy Edwards
parent
559eb94f3e
commit
b5ac7e4f92
+3
-3
@@ -74,7 +74,7 @@ static char keyBoardBuf[BUF_SIZE];
|
||||
static bool RsimJustStarted = TRUE;
|
||||
static char rsim_prompt[20];
|
||||
static int prompt_len;
|
||||
static int rsim_pid;
|
||||
static pid_t rsim_pid;
|
||||
|
||||
bool SimRsimRunning = FALSE;
|
||||
bool SimHasCoords = FALSE;
|
||||
@@ -156,7 +156,7 @@ SimStartRsim(
|
||||
char *argv[]) /* list of rsim args for the fork */
|
||||
{
|
||||
|
||||
int child;
|
||||
pid_t child;
|
||||
int magToRsimPipe[2];
|
||||
int rsimToMagPipe[2];
|
||||
char *getenv();
|
||||
@@ -465,7 +465,7 @@ InitRsim(
|
||||
void
|
||||
SimStopRsim(void)
|
||||
{
|
||||
int pid;
|
||||
pid_t pid;
|
||||
|
||||
if (SimRsimRunning) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user