From: johanknol Date: Thu, 3 Apr 2003 09:46:40 +0000 (+0000) Subject: new #pragma LESS_PEDANTIC X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=81d02e3cabef47373e7afa665faecde12ec4a1d5;p=fw%2Fsdcc new #pragma LESS_PEDANTIC git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2471 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/device/lib/_mulint.c b/device/lib/_mulint.c index 8b4d0255..7d1fc035 100644 --- a/device/lib/_mulint.c +++ b/device/lib/_mulint.c @@ -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