Skip to content

Commit

Permalink
* include/sys/resource.h (__getrusage): Mark hidden. * include/sys/t…
Browse files Browse the repository at this point in the history
…ime.h (__settimeofday, __setitimer, __utimes): Likewise. * include/sys/wait.h (__wait4): Likewise.

2003-06-30  Richard Henderson  <rth@redhat.com>

	* include/sys/resource.h (__getrusage): Mark hidden.
	* include/sys/time.h (__settimeofday, __setitimer, __utimes): Likewise.
	* include/sys/wait.h (__wait4): Likewise.
  • Loading branch information
Richard Henderson committed Jun 30, 2003
1 parent 7f4b68d commit cbdce76
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2003-06-30 Richard Henderson <rth@redhat.com>

* 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 <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/xstatconv.c: Handle STAT_IS_KERNEL_STAT
Expand Down
3 changes: 2 additions & 1 deletion include/sys/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
12 changes: 8 additions & 4 deletions include/sys/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion include/sys/wait.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cbdce76

Please sign in to comment.