From 2a6d18e4b07affd1a76f3eb6c84abe1cd58cf2ca Mon Sep 17 00:00:00 2001 From: marting Date: Sun, 10 Oct 1999 17:33:06 +0000 Subject: [PATCH] added pid_t --- scsh/syscalls1.c | 2 +- scsh/syscalls1.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scsh/syscalls1.c b/scsh/syscalls1.c index 8849354..b1f379b 100644 --- a/scsh/syscalls1.c +++ b/scsh/syscalls1.c @@ -54,7 +54,7 @@ extern char **environ; /* Args: pid, flags; returns [retval, status] */ -s48_value wait_pid(int pid, int flags, int *result_pid, int *status) +s48_value wait_pid(pid_t pid, int flags, pid_t *result_pid, int *status) { *result_pid = waitpid(pid, status, flags); return (*result_pid == -1) ? s48_enter_fixnum(errno) : S48_FALSE; diff --git a/scsh/syscalls1.h b/scsh/syscalls1.h index a5fface..bd7bd69 100644 --- a/scsh/syscalls1.h +++ b/scsh/syscalls1.h @@ -1,6 +1,6 @@ /* Exports from syscalls1.c. */ -s48_value wait_pid(int pid, int flags, int *result_pid, int *status); +s48_value wait_pid(pid_t pid, int flags, pid_t *result_pid, int *status); int scheme_exec(const char *prog, s48_value argv, s48_value env);