summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-01-24 08:19:03 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-01-24 08:19:03 +0000
commit300d6825a992518033aed97192b3a65d348a5994 (patch)
treef53cbe133a1232a2e5b1f83f3e5256ac56e10a8b /lib/libc
parent05c64e05e1f50f2e44a355f9b9346448637a55cd (diff)
alignment seems like a good idea; after art@alpha
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/hppa/gen/infinity.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/arch/hppa/gen/infinity.c b/lib/libc/arch/hppa/gen/infinity.c
index e5e85f35691..e0d028d6d9f 100644
--- a/lib/libc/arch/hppa/gen/infinity.c
+++ b/lib/libc/arch/hppa/gen/infinity.c
@@ -1,12 +1,13 @@
-/* $OpenBSD: infinity.c,v 1.1 1999/09/14 00:21:15 mickey Exp $ */
+/* $OpenBSD: infinity.c,v 1.2 2001/01/24 08:19:02 mickey Exp $ */
/* infinity.c */
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: infinity.c,v 1.1 1999/09/14 00:21:15 mickey Exp $";
+static char rcsid[] = "$OpenBSD: infinity.c,v 1.2 2001/01/24 08:19:02 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <math.h>
/* bytes for +Infinity on a hppa */
-char __infinity[] = { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 };
+char __infinity[] __attribute__((__aligned__(sizeof(double)))) =
+ { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 };