diff --git a/headers/posix/math.h b/headers/posix/math.h index 2aa3e9cfd3..789aff023d 100644 --- a/headers/posix/math.h +++ b/headers/posix/math.h @@ -234,7 +234,7 @@ extern long double fmal(long double x, long double y, long double z); extern long double fmaxl(long double x, long double y); extern long double fminl(long double x, long double y); extern long double fmodl(long double x, long double y); -extern long double frexpl(long double num, int *exp); +extern long double frexpl(long double num, int *_exponent); extern long double hypotl(long double x, long double y); extern int ilogbl(long double x); extern long double ldexpl(long double x, int exponent); diff --git a/headers/posix/signal.h b/headers/posix/signal.h index c43aef770a..7415cfe99c 100644 --- a/headers/posix/signal.h +++ b/headers/posix/signal.h @@ -225,29 +225,29 @@ extern "C" { /* signal management (actions and block masks) */ -__sighandler_t signal(int signal, __sighandler_t signalHandler); -int sigaction(int signal, const struct sigaction* action, +__sighandler_t signal(int _signal, __sighandler_t signalHandler); +int sigaction(int _signal, const struct sigaction* action, struct sigaction* oldAction); -__sighandler_t sigset(int signal, __sighandler_t signalHandler); -int sigignore(int signal); -int siginterrupt(int signal, int flag); +__sighandler_t sigset(int _signal, __sighandler_t signalHandler); +int sigignore(int _signal); +int siginterrupt(int _signal, int flag); int sigprocmask(int how, const sigset_t* set, sigset_t* oldSet); int pthread_sigmask(int how, const sigset_t* set, sigset_t* oldSet); -int sighold(int signal); -int sigrelse(int signal); +int sighold(int _signal); +int sigrelse(int _signal); /* sending signals */ -int raise(int signal); -int kill(pid_t pid, int signal); -int killpg(pid_t processGroupID, int signal); -int sigqueue(pid_t pid, int signal, const union sigval userValue); -int pthread_kill(pthread_t thread, int signal); +int raise(int _signal); +int kill(pid_t pid, int _signal); +int killpg(pid_t processGroupID, int _signal); +int sigqueue(pid_t pid, int _signal, const union sigval userValue); +int pthread_kill(pthread_t thread, int _signal); /* querying and waiting for signals */ int sigpending(sigset_t* set); int sigsuspend(const sigset_t* mask); -int sigpause(int signal); +int sigpause(int _signal); int sigwait(const sigset_t* set, int* _signal); int sigwaitinfo(const sigset_t* set, siginfo_t* info); int sigtimedwait(const sigset_t* set, siginfo_t* info, @@ -259,13 +259,13 @@ int sigaltstack(const stack_t* stack, stack_t* oldStack); /* signal set (sigset_t) manipulation */ int sigemptyset(sigset_t* set); int sigfillset(sigset_t* set); -int sigaddset(sigset_t* set, int signal); -int sigdelset(sigset_t* set, int signal); -int sigismember(const sigset_t* set, int signal); +int sigaddset(sigset_t* set, int _signal); +int sigdelset(sigset_t* set, int _signal); +int sigismember(const sigset_t* set, int _signal); /* printing signal names */ void psiginfo(const siginfo_t* info, const char* message); -void psignal(int signal, const char* message); +void psignal(int _signal, const char* message); /* implementation private */ int __signal_get_sigrtmin(); diff --git a/headers/posix/time.h b/headers/posix/time.h index 856c6d5c8b..08abda28f2 100644 --- a/headers/posix/time.h +++ b/headers/posix/time.h @@ -90,10 +90,10 @@ extern char *strptime(const char *buf, const char *format, struct tm *tm); /* clock functions */ int clock_getres(clockid_t clockID, struct timespec* resolution); -int clock_gettime(clockid_t clockID, struct timespec* time); -int clock_settime(clockid_t clockID, const struct timespec* time); +int clock_gettime(clockid_t clockID, struct timespec* _time); +int clock_settime(clockid_t clockID, const struct timespec* _time); int clock_nanosleep(clockid_t clockID, int flags, - const struct timespec* time, struct timespec* remainingTime); + const struct timespec* _time, struct timespec* remainingTime); int clock_getcpuclockid(pid_t pid, clockid_t* _clockID); /* timer functions */