* fixed GCC 4.4.0 mingw compilation:
[fw/sdcc] / device / lib / _fsgt.c
index 81b7cc8a76521fb3da115322ac5ccd5c4e095b30..53df3022c473ee018491903e0251a81d81d4c664 100644 (file)
 
 #ifdef FLOAT_ASM_MCS51
 
-// char __fsgt (float a, float b) reentrant
-static void dummy(void) _naked
+// char __fsgt (float a, float b) __reentrant
+static void dummy(void) __naked
 {
-       _asm
+       __asm
        .globl  ___fsgt
 ___fsgt:
        mov     r7, a
@@ -65,13 +65,11 @@ skip_invert:
        rlc     a
        mov     dpl, a
        ret
-       _endasm;
+       __endasm;
 }
 
 #else
 
-
-
 /*
 ** libgcc support for software floating point.
 ** Copyright (C) 1991 by Pipeline Associates, Inc.  All rights reserved.
@@ -90,7 +88,6 @@ skip_invert:
 
 /* (c)2000/2001: hacked a little by johan.knol@iduna.nl for sdcc */
 
-
 union float_long
   {
     float f;