diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-04-14 17:55:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-04-14 17:55:43 +0000 |
commit | f83af095b6fc49de3914f4426202171341783277 (patch) | |
tree | ac1a86e37bb3d15c0a830737c5112b8b90c4a286 /include | |
parent | 29886719b5e20f210f9f0133ca381ca995dbc1e0 (diff) | |
download | glibc-f83af095b6fc49de3914f4426202171341783277.zip glibc-f83af095b6fc49de3914f4426202171341783277.tar.gz glibc-f83af095b6fc49de3914f4426202171341783277.tar.bz2 |
Update.
* include/math.h: Declare __isinf_internal, __isinfl_internal,
__isnan_internal, and __isnanl_internal.
* stdio-common/printf_fp.c: Use INTUSE for calls to __isinf, __isinfl,
__isnan, and __isnanl.
* stdio-common/printf_size.c: Likewise.
* sysdeps/generic/printf_fphex.c: Likewise.
* sysdeps/i386/fpu/s_isinfl.c: Also define _internal alias.
* sysdeps/i386/fpu/s_isnanl.c: Likewise.
* sysdeps/ia64/fpu/s_isinf.S: Likewise.
* sysdeps/ia64/fpu/s_isnan.S: Likewise.
* sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
* sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
* sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
* sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
* sysdeps/m68k/s_isinfl.c: Likewise.
* sysdeps/m68k/fpu/s_isinf.c: Likewise.
* sysdeps/powerpc/fpu/s_isnan.c: Likewise.
Diffstat (limited to 'include')
-rw-r--r-- | include/math.h | 9 | ||||
-rw-r--r-- | include/sys/stat.h | 4 | ||||
-rw-r--r-- | include/sys/time.h | 2 | ||||
-rw-r--r-- | include/unistd.h | 9 |
4 files changed, 17 insertions, 7 deletions
diff --git a/include/math.h b/include/math.h index 2a69430..50094c1 100644 --- a/include/math.h +++ b/include/math.h @@ -12,6 +12,15 @@ extern int __finitef_internal (float __value) extern int __finitel_internal (long double __value) __attribute__ ((__const__)) attribute_hidden; +extern int __isinf_internal (double __value) + __attribute__ ((__const__)) attribute_hidden; +extern int __isinfl_internal (long double __value) + __attribute__ ((__const__)) attribute_hidden; +extern int __isnan_internal (double __value) + __attribute__ ((__const__)) attribute_hidden; +extern int __isnanl_internal (long double __value) + __attribute__ ((__const__)) attribute_hidden; + #if !defined NOT_IN_libc || defined IS_IN_libm # undef isfinite # ifdef __NO_LONG_DOUBLE_MATH diff --git a/include/sys/stat.h b/include/sys/stat.h index bb89457..16ae6c7 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -12,9 +12,9 @@ extern int __mkdir (__const char *__path, __mode_t __mode); extern int __mknod (__const char *__path, __mode_t __mode, __dev_t __dev); extern int __fxstat_internal (int __ver, int __fildes, - struct stat *__stat_buf); + struct stat *__stat_buf) attribute_hidden; extern int __fxstat64_internal (int __ver, int __fildes, - struct stat64 *__stat_buf) ; + struct stat64 *__stat_buf) attribute_hidden; extern __inline__ int __stat (__const char *__path, struct stat *__statbuf) { return __xstat (_STAT_VER, __path, __statbuf); diff --git a/include/sys/time.h b/include/sys/time.h index 634fe8a..68fcd86 100644 --- a/include/sys/time.h +++ b/include/sys/time.h @@ -5,7 +5,7 @@ extern int __gettimeofday (struct timeval *__tv, struct timezone *__tz); extern int __gettimeofday_internal (struct timeval *__tv, - struct timezone *__tz); + struct timezone *__tz) attribute_hidden; extern int __settimeofday (__const struct timeval *__tv, __const struct timezone *__tz); extern int __adjtime (__const struct timeval *__delta, diff --git a/include/unistd.h b/include/unistd.h index 29a6041..fe6b8b1 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -47,7 +47,7 @@ extern int __rmdir (const char *__path); char *__canonicalize_directory_name_internal (__const char *__thisdir, char *__buf, - size_t __size); + size_t __size) attribute_hidden; extern int __dup (int __fd); extern int __dup2 (int __fd, int __fd2); @@ -58,7 +58,7 @@ extern long int __pathconf (__const char *__path, int __name); extern long int __fpathconf (int __fd, int __name); extern long int __sysconf (int __name); extern __pid_t __getpid (void); -extern __pid_t __getpid_internal (void); +extern __pid_t __getpid_internal (void) attribute_hidden; extern __pid_t __getppid (void); extern __pid_t __setsid (void); extern __uid_t __getuid (void); @@ -66,7 +66,7 @@ extern __uid_t __geteuid (void); extern __gid_t __getgid (void); extern __gid_t __getegid (void); extern int __getgroups (int __size, __gid_t __list[]); -extern __pid_t __getpgid_internal (__pid_t __pid); +extern __pid_t __getpgid_internal (__pid_t __pid) attribute_hidden; extern int __group_member (__gid_t __gid); extern int __setuid (__uid_t __uid); extern int __setreuid (__uid_t __ruid, __uid_t __euid); @@ -92,7 +92,8 @@ extern ssize_t __write (int __fd, __const void *__buf, size_t __n); extern __pid_t __fork (void); extern __pid_t __fork_internal (void) attribute_hidden; extern int __getpagesize (void) __attribute__ ((__const__)); -extern int __getpagesize_internal (void) __attribute__ ((__const__)); +extern int __getpagesize_internal (void) + __attribute__ ((__const__)) attribute_hidden; extern int __ftruncate (int __fd, __off_t __length); extern int __ftruncate64 (int __fd, __off64_t __length); extern void *__sbrk (intptr_t __delta); |