new #pragma LESS_PEDANTIC
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 3 Apr 2003 09:46:40 +0000 (09:46 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 3 Apr 2003 09:46:40 +0000 (09:46 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2471 4a8a32a2-be11-0410-ad9d-d568d2c75423

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