From 300d6825a992518033aed97192b3a65d348a5994 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Wed, 24 Jan 2001 08:19:03 +0000 Subject: alignment seems like a good idea; after art@alpha --- lib/libc/arch/hppa/gen/infinity.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/libc') 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 /* 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 }; -- cgit v1.2.3