redmine

Fixed variable types

... ... @@ -292,7 +292,7 @@ int syntax() {
int ncpus;
pid_t parent_pid;
pid_t waitpid_timed(pid_t child_pid, int *status_p, __time_t sec, __syscall_slong_t nsec) {
pid_t waitpid_timed(pid_t child_pid, int *status_p, long sec, long nsec) {
struct timespec ts;
int status;
... ...
... ... @@ -37,5 +37,5 @@ extern char *parameter_expand(
extern pid_t fork_helper();
extern int parent_isalive();
extern int sethandler_sigchld(void (*handler)());
extern pid_t waitpid_timed(pid_t child_pid, int *status_p, __time_t sec, __syscall_slong_t nsec);
extern pid_t waitpid_timed(pid_t child_pid, int *status_p, long sec, long nsec);
... ...
... ... @@ -58,7 +58,7 @@ int pthread_cond_destroy_shared(pthread_cond_t *cond_p) {
return rc;
}
int pthread_mutex_reltimedlock(pthread_mutex_t *mutex_p, __time_t tv_sec, __syscall_slong_t tv_nsec) {
int pthread_mutex_reltimedlock(pthread_mutex_t *mutex_p, long tv_sec, long tv_nsec) {
struct timespec abs_time;
if (clock_gettime(CLOCK_REALTIME, &abs_time))
... ...
... ... @@ -23,5 +23,5 @@ extern int pthread_mutex_init_shared(pthread_mutex_t **mutex_p);
extern int pthread_mutex_destroy_shared(pthread_mutex_t *mutex_p);
extern int pthread_cond_init_shared(pthread_cond_t **cond_p);
extern int pthread_cond_destroy_shared(pthread_cond_t *cond_p);
extern int pthread_mutex_reltimedlock(pthread_mutex_t *mutex_p, __time_t tv_sec, __syscall_slong_t tv_nsec);
extern int pthread_mutex_reltimedlock(pthread_mutex_t *mutex_p, long tv_sec, long tv_nsec);
... ...