summaryrefslogtreecommitdiffstats
path: root/lib/libm/src/s_llroundf.c
diff options
context:
space:
mode:
authormartynas <martynas@openbsd.org>2008-07-21 20:29:14 +0000
committermartynas <martynas@openbsd.org>2008-07-21 20:29:14 +0000
commit2d2c90e6463ca665c6761a911038e365c74430cd (patch)
treeaba27cb985b32efac11aa225e0a52daba92da879 /lib/libm/src/s_llroundf.c
parentgives this a chance to work on architectures with strict alignment (diff)
downloadwireguard-openbsd-2d2c90e6463ca665c6761a911038e365c74430cd.tar.xz
wireguard-openbsd-2d2c90e6463ca665c6761a911038e365c74430cd.zip
rename lround.c lroundf.c llround.c llroundf.c to s_lround.c
s_lroundf.c s_llround.c s_llroundf.c, for naming consistency looks fine to millert@
Diffstat (limited to 'lib/libm/src/s_llroundf.c')
-rw-r--r--lib/libm/src/s_llroundf.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/libm/src/s_llroundf.c b/lib/libm/src/s_llroundf.c
new file mode 100644
index 00000000000..c576304450b
--- /dev/null
+++ b/lib/libm/src/s_llroundf.c
@@ -0,0 +1,14 @@
+/* $OpenBSD: s_llroundf.c,v 1.1 2008/07/21 20:29:14 martynas Exp $ */
+/* $NetBSD: llroundf.c,v 1.2 2004/10/13 15:18:32 drochner Exp $ */
+
+/*
+ * Written by Matthias Drochner <drochner@NetBSD.org>.
+ * Public domain.
+ */
+
+#define LROUNDNAME llroundf
+#define RESTYPE long long int
+#define RESTYPE_MIN LLONG_MIN
+#define RESTYPE_MAX LLONG_MAX
+
+#include "s_lroundf.c"