From ab0dc591b7c0b233ddd162a81b736381a65a2d4d Mon Sep 17 00:00:00 2001 From: bernhardheld Date: Wed, 31 Oct 2001 21:58:01 +0000 Subject: [PATCH] insert reentrant for mcs51 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1480 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- support/regression/tests/funptrs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5