From 84b3537aa76bb5c8b6796e59ba25fba12ee5c514 Mon Sep 17 00:00:00 2001 From: jesusc Date: Tue, 13 Jan 2004 02:57:21 +0000 Subject: [PATCH] Moved declaration to begining of function so to compile with MSVC git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3127 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/pic16/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pic16/device.c b/src/pic16/device.c index 533066e2..841742fa 100644 --- a/src/pic16/device.c +++ b/src/pic16/device.c @@ -264,9 +264,9 @@ extern regs* newReg(short type, short pc_type, int rIdx, char *name, int size, i void pic16_setMaxRAM(int size) { + regs * reg; pic->maxRAMaddress = size; stackPos = pic->RAMsize-1; - regs * reg; reg=newReg(REG_SFR, PO_SFR_REGISTER, stackPos, "stack", 1, 0, NULL); addSet(&pic16_fix_udata, reg); -- 2.47.2