From cbdce766068d938cfb7d98621aece034d9981b7f Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 30 Jun 2003 23:15:13 +0000 Subject: [PATCH] * include/sys/resource.h (__getrusage): Mark hidden. * include/sys/time.h (__settimeofday, __setitimer, __utimes): Likewise. * include/sys/wait.h (__wait4): Likewise. 2003-06-30 Richard Henderson * include/sys/resource.h (__getrusage): Mark hidden. * include/sys/time.h (__settimeofday, __setitimer, __utimes): Likewise. * include/sys/wait.h (__wait4): Likewise. --- ChangeLog | 6 ++++++ include/sys/resource.h | 3 ++- include/sys/time.h | 12 ++++++++---- include/sys/wait.h | 3 ++- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index e9cb205..abd3d3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-06-30 Richard Henderson + + * include/sys/resource.h (__getrusage): Mark hidden. + * include/sys/time.h (__settimeofday, __setitimer, __utimes): Likewise. + * include/sys/wait.h (__wait4): Likewise. + 2003-06-17 Guido Guenther * sysdeps/unix/sysv/linux/mips/xstatconv.c: Handle STAT_IS_KERNEL_STAT diff --git a/include/sys/resource.h b/include/sys/resource.h index f9b819d..9fd59dd 100644 --- a/include/sys/resource.h +++ b/include/sys/resource.h @@ -7,7 +7,8 @@ libc_hidden_proto (setpriority) /* Now define the internal interfaces. */ extern int __getrlimit (enum __rlimit_resource __resource, struct rlimit *__rlimits); -extern int __getrusage (enum __rusage_who __who, struct rusage *__usage); +extern int __getrusage (enum __rusage_who __who, struct rusage *__usage) + attribute_hidden; extern int __setrlimit (enum __rlimit_resource __resource, const struct rlimit *__rlimits); diff --git a/include/sys/time.h b/include/sys/time.h index 68fcd86..c70396f 100644 --- a/include/sys/time.h +++ b/include/sys/time.h @@ -5,17 +5,21 @@ extern int __gettimeofday (struct timeval *__tv, struct timezone *__tz); extern int __gettimeofday_internal (struct timeval *__tv, - struct timezone *__tz) attribute_hidden; + struct timezone *__tz) + attribute_hidden; extern int __settimeofday (__const struct timeval *__tv, - __const struct timezone *__tz); + __const struct timezone *__tz) + attribute_hidden; extern int __adjtime (__const struct timeval *__delta, struct timeval *__olddelta); extern int __getitimer (enum __itimer_which __which, struct itimerval *__value); extern int __setitimer (enum __itimer_which __which, __const struct itimerval *__restrict __new, - struct itimerval *__restrict __old); -extern int __utimes (__const char *__file, const struct timeval __tvp[2]); + struct itimerval *__restrict __old) + attribute_hidden; +extern int __utimes (__const char *__file, const struct timeval __tvp[2]) + attribute_hidden; #ifndef NOT_IN_libc # define __gettimeofday(tv, tz) INTUSE(__gettimeofday) (tv, tz) diff --git a/include/sys/wait.h b/include/sys/wait.h index f1eceb1..efabd0c 100644 --- a/include/sys/wait.h +++ b/include/sys/wait.h @@ -13,5 +13,6 @@ extern __pid_t __wait (__WAIT_STATUS __stat_loc); extern __pid_t __wait3 (__WAIT_STATUS __stat_loc, int __options, struct rusage * __usage); extern __pid_t __wait4 (__pid_t __pid, __WAIT_STATUS __stat_loc, - int __options, struct rusage *__usage); + int __options, struct rusage *__usage) + attribute_hidden; #endif -- 2.7.4