From: bernhardheld Date: Wed, 31 Oct 2001 21:58:01 +0000 (+0000) Subject: insert reentrant for mcs51 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=ab0dc591b7c0b233ddd162a81b736381a65a2d4d;p=fw%2Fsdcc insert reentrant for mcs51 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1480 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/support/regression/tests/funptrs.c b/support/regression/tests/funptrs.c index 6288d94d..3e584cf5 100644 --- a/support/regression/tests/funptrs.c +++ b/support/regression/tests/funptrs.c @@ -6,7 +6,7 @@ on the z80. */ typedef void (*NOARGFUNPTR)(void); -typedef void (*ONEARGFUNPTR)(int); +typedef void (*ONEARGFUNPTR)(int) REENTRANT; int count; @@ -17,7 +17,7 @@ incCount(void) } void -incBy(int a) +incBy(int a) REENTRANT { count += a; }