summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2003-07-13 08:13:52 +0000
committernyan <nyan@FreeBSD.org>2003-07-13 08:13:52 +0000
commit4521e2ba57c8f586179f405bfd36a29ff8deaae8 (patch)
treefcac830a8ddaf8114d8554642a6bc50d671b22d0 /sys/boot
parentc6858aca97becd2397e6981479ad3754e0e277b0 (diff)
downloadFreeBSD-src-4521e2ba57c8f586179f405bfd36a29ff8deaae8.zip
FreeBSD-src-4521e2ba57c8f586179f405bfd36a29ff8deaae8.tar.gz
Fixed build error with GCC 3.3.1
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/pc98/boot2/asm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/boot/pc98/boot2/asm.h b/sys/boot/pc98/boot2/asm.h
index 3a08a39..914014d 100644
--- a/sys/boot/pc98/boot2/asm.h
+++ b/sys/boot/pc98/boot2/asm.h
@@ -64,19 +64,19 @@
#define OUTL outl (%dx)
#else /* wheeze */
+
#define ALIGN
#define LCL(x) x
#define LB(x,n) n
#ifdef __STDC__
#define EXT(x) x
-#define LEXT(x) x ## :
-
+#define LEXT(x) .type EXT(x),@function; EXT(x):
#define LBb(x,n) n ## b
#define LBf(x,n) n ## f
#else /* __STDC__ */
#define EXT(x) _/**/x
-#define LEXT(x) _/**/x/**/:
+#define LEXT(x) .type EXT(x),@function; EXT(x)/**/:
#define LBb(x,n) n/**/b
#define LBf(x,n) n/**/f
#endif /* __STDC__ */
OpenPOWER on IntegriCloud