about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-17 18:12:07 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-17 18:12:07 +0000
commitb6e20712403daa9800411f404b9201f82faaa6b2 (patch)
treedf362b98b24863afda99ce164a6fe3090fd783db /sysdeps
parent5c80f57cfcbe5b3aee94cffde108a22d3e38f7e4 (diff)
downloadglibc-b6e20712403daa9800411f404b9201f82faaa6b2.tar.gz
glibc-b6e20712403daa9800411f404b9201f82faaa6b2.tar.xz
glibc-b6e20712403daa9800411f404b9201f82faaa6b2.zip
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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/e_j0l.c1
-rw-r--r--sysdeps/generic/e_j1l.c1
-rw-r--r--sysdeps/generic/e_jnl.c1
-rw-r--r--sysdeps/generic/e_lgammal_r.c1
-rw-r--r--sysdeps/generic/k_cosl.c1
-rw-r--r--sysdeps/generic/k_sinl.c3
-rw-r--r--sysdeps/generic/k_tanl.c1
-rw-r--r--sysdeps/unix/sysv/linux/shm_open.c2
8 files changed, 9 insertions, 2 deletions
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 <math.h>
 #include <stdio.h>
 #include <errno.h>
+#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 <math.h>
 #include <stdio.h>
 #include <errno.h>
+#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 <math.h>
 #include <stdio.h>
 #include <errno.h>
+#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 <math.h>
 #include <stdio.h>
 #include <errno.h>
+#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 <math.h>
 #include <stdio.h>
 #include <errno.h>
+#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 <math.h>
 #include <stdio.h>
 #include <errno.h>
+#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 <math.h>
 #include <stdio.h>
 #include <errno.h>
+#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)