* as/link/lkar.h: sgetl and sputl are independent of endianness
[fw/sdcc] / device / lib / _sint2fs.c
index eacde5d5efa632cd3ac5cfcaadd566854e029b83..7458bb012e60f470f10942fd30ef9dd2b6238093 100644 (file)
@@ -24,9 +24,9 @@
 #ifdef FLOAT_ASM_MCS51
 
 // float long __sint2fs (float x)
-static void dummy(void) _naked
+static void dummy(void) __naked
 {
-       _asm
+       __asm
        .globl  ___sint2fs
 ___sint2fs:
        mov     r4, dph
@@ -35,16 +35,14 @@ ___sint2fs:
        mov     r1, #0
        mov     a, #142
        ljmp    slong2fs_doit
-       _endasm;
+       __endasm;
 }
 
 #else
 
-
 /* convert signed int to float */
 float __sint2fs (signed int si) {
   return __slong2fs(si);
 }
 
 #endif
-