summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/arch/sparc64/fpu/fpu_q.c14
-rw-r--r--lib/libc/arch/sparc64/fpu/fpu_q.h14
2 files changed, 14 insertions, 14 deletions
diff --git a/lib/libc/arch/sparc64/fpu/fpu_q.c b/lib/libc/arch/sparc64/fpu/fpu_q.c
index fa6904c53e1..b2e9cb13c2a 100644
--- a/lib/libc/arch/sparc64/fpu/fpu_q.c
+++ b/lib/libc/arch/sparc64/fpu/fpu_q.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu_q.c,v 1.1 2003/07/21 18:41:30 jason Exp $ */
+/* $OpenBSD: fpu_q.c,v 1.2 2004/02/03 17:18:13 jason Exp $ */
/*
* Copyright (c) 2003 Jason L. Wright (jason@thought.net)
@@ -155,37 +155,37 @@ _Q_qtou(long double a)
return (v);
}
-long double
+int
_Q_feq(long double a, long double b)
{
return (_Qp_feq(&a, &b));
}
-long double
+int
_Q_fne(long double a, long double b)
{
return (_Qp_fne(&a, &b));
}
-long double
+int
_Q_fge(long double a, long double b)
{
return (_Qp_fge(&a, &b));
}
-long double
+int
_Q_fgt(long double a, long double b)
{
return (_Qp_fgt(&a, &b));
}
-long double
+int
_Q_flt(long double a, long double b)
{
return (_Qp_flt(&a, &b));
}
-long double
+int
_Q_fle(long double a, long double b)
{
return (_Qp_fle(&a, &b));
diff --git a/lib/libc/arch/sparc64/fpu/fpu_q.h b/lib/libc/arch/sparc64/fpu/fpu_q.h
index 166bbfd7ed0..48300f7ae12 100644
--- a/lib/libc/arch/sparc64/fpu/fpu_q.h
+++ b/lib/libc/arch/sparc64/fpu/fpu_q.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu_q.h,v 1.1 2003/07/21 18:41:30 jason Exp $ */
+/* $OpenBSD: fpu_q.h,v 1.2 2004/02/03 17:18:13 jason Exp $ */
/*
* Copyright (c) 2003 Jason L. Wright (jason@thought.net)
@@ -40,12 +40,12 @@ long double _Q_mul(long double, long double);
long double _Q_div(long double, long double);
long double _Q_sub(long double, long double);
long double _Q_add(long double, long double);
-long double _Q_feq(long double, long double);
-long double _Q_fne(long double, long double);
-long double _Q_fge(long double, long double);
-long double _Q_fgt(long double, long double);
-long double _Q_flt(long double, long double);
-long double _Q_fle(long double, long double);
+int _Q_feq(long double, long double);
+int _Q_fne(long double, long double);
+int _Q_fge(long double, long double);
+int _Q_fgt(long double, long double);
+int _Q_flt(long double, long double);
+int _Q_fle(long double, long double);
void _Qp_add(long double *, long double *, long double *);
void _Qp_div(long double *, long double *, long double *);