summaryrefslogtreecommitdiff
path: root/lib/libc/arch/sparc64/gen/infinity.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/sparc64/gen/infinity.c')
-rw-r--r--lib/libc/arch/sparc64/gen/infinity.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/arch/sparc64/gen/infinity.c b/lib/libc/arch/sparc64/gen/infinity.c
index 04eea83390a..60847ada16d 100644
--- a/lib/libc/arch/sparc64/gen/infinity.c
+++ b/lib/libc/arch/sparc64/gen/infinity.c
@@ -1,8 +1,9 @@
-/* $OpenBSD: infinity.c,v 1.1 2001/08/29 01:41:29 art Exp $ */
+/* $OpenBSD: infinity.c,v 1.2 2001/09/05 23:24:46 art Exp $ */
/* infinity.c */
#include <math.h>
/* bytes for +Infinity on a sparc */
-char __infinity[] = { 0x7f, (char)0xf0, 0, 0, 0, 0, 0, 0 };
+char __infinity[] __attribute__((__aligned__(sizeof(double)))) =
+ { 0x7f, (char)0xf0, 0, 0, 0, 0, 0, 0 };