new #pragma LESS_PEDANTIC
[fw/sdcc] / device / lib / _mulint.c
index 8b4d0255bc339e359052d533e96c9aa6baae24f3..7d1fc035add63af83de91ac38e150929c6749722 100644 (file)
@@ -121,9 +121,9 @@ _mulsint (int a, int b)             // obsolete
 
 #elif defined _MULINT_ASM_SMALL || defined _MULINT_ASM_SMALL_AUTO
 
-/* the return value is (unsigned) int, but to hush the compiler
- * we choose void here: */
-void
+#pragma SAVE
+#pragma LESS_PEDANTIC
+unsigned int
 _mulint_dummy (void) _naked
 {
        _asm
@@ -218,6 +218,7 @@ _mulint_dummy (void) _naked
 
        _endasm ;
 }
+#pragma RESTORE
 
 #else