summaryrefslogtreecommitdiff
path: root/lib/libc/arch/m88k
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/m88k')
-rw-r--r--lib/libc/arch/m88k/gen/infinity.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/libc/arch/m88k/gen/infinity.c b/lib/libc/arch/m88k/gen/infinity.c
index cbf940e6551..5043a54ede4 100644
--- a/lib/libc/arch/m88k/gen/infinity.c
+++ b/lib/libc/arch/m88k/gen/infinity.c
@@ -1,12 +1,13 @@
-/* $OpenBSD: infinity.c,v 1.2 2000/03/01 17:31:20 todd Exp $ */
+/* $OpenBSD: infinity.c,v 1.3 2003/01/07 22:00:50 miod Exp $ */
-#ifndef lint
-static char rcsid[] = "$OpenBSD: infinity.c,v 1.2 2000/03/01 17:31:20 todd Exp $";
-#endif /* not lint */
+#if defined(LIBC_SCCS) && !defined(lint)
+static char rcsid[] = "$OpenBSD: infinity.c,v 1.3 2003/01/07 22:00:50 miod Exp $";
+#endif /* LIBC_SCCS and not lint */
/* infinity.c */
#include <math.h>
-/* bytes for +Infinity on 88100 */
-char __infinity[] = { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 };
+/* bytes for +Infinity on m88k */
+char __infinity[] __attribute__((__aligned__(sizeof(double)))) =
+ { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 };