summaryrefslogtreecommitdiff
path: root/lib/libm/noieee_src/n_fmin.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libm/noieee_src/n_fmin.c')
-rw-r--r--lib/libm/noieee_src/n_fmin.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/libm/noieee_src/n_fmin.c b/lib/libm/noieee_src/n_fmin.c
index 3215b5136d5..ae7f2698115 100644
--- a/lib/libm/noieee_src/n_fmin.c
+++ b/lib/libm/noieee_src/n_fmin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: n_fmin.c,v 1.3 2008/12/10 01:08:24 martynas Exp $ */
+/* $OpenBSD: n_fmin.c,v 1.4 2011/05/30 18:34:38 martynas Exp $ */
/*-
* Copyright (c) 2004 David Schultz <das@FreeBSD.ORG>
* All rights reserved.
@@ -25,6 +25,8 @@
* SUCH DAMAGE.
*/
+/* LINTLIBRARY */
+
#include <sys/cdefs.h>
#include <math.h>
@@ -47,6 +49,9 @@ fmin(double x, double y)
return (x < y ? x : y);
}
-#ifdef __weak_alias
+#ifdef lint
+/* PROTOLIB1 */
+long double fminl(long double, long double);
+#else /* lint */
__weak_alias(fminl, fmin);
-#endif /* __weak_alias */
+#endif /* lint */