From b6e20712403daa9800411f404b9201f82faaa6b2 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 17 Dec 2000 18:12:07 +0000 Subject: [PATCH] Update. * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions parameter. * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add unused attribute to shut up gcc warnings. * sysdeps/generic/k_sinl.c: Include math_private for prototypes. * sysdeps/generic/k_tanl.c: Likewise. * sysdeps/generic/k_cosl.c: Likewise. * sysdeps/generic/e_j0l.c: Likewise. * sysdeps/generic/e_j1l.c: Likewise. * sysdeps/generic/e_jnl.c: Likewise. * sysdeps/generic/e_lgammal_r.c: Likewise. --- ChangeLog | 14 ++++++++++++++ linuxthreads/ChangeLog | 5 +++++ sysdeps/generic/e_j0l.c | 1 + sysdeps/generic/e_j1l.c | 1 + sysdeps/generic/e_jnl.c | 1 + sysdeps/generic/e_lgammal_r.c | 1 + sysdeps/generic/k_cosl.c | 1 + sysdeps/generic/k_sinl.c | 3 ++- sysdeps/generic/k_tanl.c | 1 + sysdeps/unix/sysv/linux/shm_open.c | 2 +- 10 files changed, 28 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 274b4652ea..78df56a34e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,19 @@ 2000-12-17 Andreas Jaeger + * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions + parameter. + + * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add + unused attribute to shut up gcc warnings. + + * sysdeps/generic/k_sinl.c: Include math_private for prototypes. + * sysdeps/generic/k_tanl.c: Likewise. + * sysdeps/generic/k_cosl.c: Likewise. + * sysdeps/generic/e_j0l.c: Likewise. + * sysdeps/generic/e_j1l.c: Likewise. + * sysdeps/generic/e_jnl.c: Likewise. + * sysdeps/generic/e_lgammal_r.c: Likewise. + * elf/vismain.c: Move prototypes for functions in vismod*.c to vismod.h. * elf/vismod.h: New file. diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index bbe32c654d..157177bcc2 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,8 @@ +2000-12-17 Andreas Jaeger + + * internals.h: Add prototypes for testandset and + __compare_and_swap to shut up gcc warnings. + 2000-12-06 Wolfram Gloger * join.c (pthread_detach): Allow case where the thread has already diff --git a/sysdeps/generic/e_j0l.c b/sysdeps/generic/e_j0l.c index 624914b9ff..1bf0a1de73 100644 --- a/sysdeps/generic/e_j0l.c +++ b/sysdeps/generic/e_j0l.c @@ -1,6 +1,7 @@ #include #include #include +#include "math_private.h" long double __ieee754_j0l (long double x) diff --git a/sysdeps/generic/e_j1l.c b/sysdeps/generic/e_j1l.c index c2ae40e05c..656abeba57 100644 --- a/sysdeps/generic/e_j1l.c +++ b/sysdeps/generic/e_j1l.c @@ -1,6 +1,7 @@ #include #include #include +#include "math_private.h" long double __ieee754_j1l (long double x) diff --git a/sysdeps/generic/e_jnl.c b/sysdeps/generic/e_jnl.c index 411598d40a..1bfc0695a5 100644 --- a/sysdeps/generic/e_jnl.c +++ b/sysdeps/generic/e_jnl.c @@ -1,6 +1,7 @@ #include #include #include +#include "math_private.h" long double __ieee754_jnl (int n, long double x) diff --git a/sysdeps/generic/e_lgammal_r.c b/sysdeps/generic/e_lgammal_r.c index eea3d48d2a..1784b2663f 100644 --- a/sysdeps/generic/e_lgammal_r.c +++ b/sysdeps/generic/e_lgammal_r.c @@ -1,6 +1,7 @@ #include #include #include +#include "math_private.h" long double __ieee754_lgammal_r (long double x, int *signgamp) diff --git a/sysdeps/generic/k_cosl.c b/sysdeps/generic/k_cosl.c index 61af3372a1..29b83d6273 100644 --- a/sysdeps/generic/k_cosl.c +++ b/sysdeps/generic/k_cosl.c @@ -1,6 +1,7 @@ #include #include #include +#include "math_private.h" long double __kernel_cosl (long double x, long double y) diff --git a/sysdeps/generic/k_sinl.c b/sysdeps/generic/k_sinl.c index 07dddcecb2..ea1d71f61b 100644 --- a/sysdeps/generic/k_sinl.c +++ b/sysdeps/generic/k_sinl.c @@ -1,9 +1,10 @@ #include #include #include +#include "math_private.h" long double -__kernel_sinl (long double x, long double y) +__kernel_sinl (long double x, long double y, int iy) { fputs ("__kernel_sinl not implemented\n", stderr); __set_errno (ENOSYS); diff --git a/sysdeps/generic/k_tanl.c b/sysdeps/generic/k_tanl.c index 1504a1cd90..9993c6b998 100644 --- a/sysdeps/generic/k_tanl.c +++ b/sysdeps/generic/k_tanl.c @@ -1,6 +1,7 @@ #include #include #include +#include "math_private.h" long double __kernel_tanl (long double x, long double y, int iy) diff --git a/sysdeps/unix/sysv/linux/shm_open.c b/sysdeps/unix/sysv/linux/shm_open.c index 8186052a14..3808380851 100644 --- a/sysdeps/unix/sysv/linux/shm_open.c +++ b/sysdeps/unix/sysv/linux/shm_open.c @@ -223,7 +223,7 @@ shm_unlink (const char *name) } -void +static void __attribute__ ((unused)) freeit (void) { if (mountpoint.dir != defaultdir)