sim: use pid_t where appropiate
This commit is contained in:
parent
559eb94f3e
commit
b5ac7e4f92
|
|
@ -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) {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue