* support/regression/tests/driverstruct.c: REENTRANT for mcs51
* support/regression/ports/gbz80/spec.mk: removed GENERIC
* support/regression/ports/host/spec.mk: removed GENERIC
* support/regression/ports/mcs51/spec.mk: removed GENERIC
* support/regression/ports/z80/spec.mk: removed GENERIC
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1339
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2001-10-01 Bernhard Held <bernhard@bernhardheld.de>
+
+ * src/SDCCsymt.c: no more _modifier in printTypeChain()
+ * support/regression/tests/driverstruct.c: REENTRANT for mcs51
+ * support/regression/ports/gbz80/spec.mk: removed GENERIC
+ * support/regression/ports/host/spec.mk: removed GENERIC
+ * support/regression/ports/mcs51/spec.mk: removed GENERIC
+ * support/regression/ports/z80/spec.mk: removed GENERIC
+
2001-10-01 <johan@FRIJA>
* src/SDCC.y: fixed bug #466586 part 1
fprintf (of, "function ");
break;
case GPOINTER:
- fprintf (of, "_generic * ");
+ fprintf (of, "generic * ");
if (DCL_PTR_CONST (type))
fprintf (of, "const ");
break;
case CPOINTER:
- fprintf (of, "_code * ");
+ fprintf (of, "code * ");
if (DCL_PTR_CONST (type))
fprintf (of, "const ");
break;
case FPOINTER:
- fprintf (of, "_far * ");
+ fprintf (of, "far * ");
if (DCL_PTR_CONST (type))
fprintf (of, "const ");
break;
case EEPPOINTER:
- fprintf (of, "_eeprom * ");
+ fprintf (of, "eeprom * ");
if (DCL_PTR_CONST (type))
fprintf (of, "const ");
break;
case POINTER:
- fprintf (of, "_near * ");
+ fprintf (of, "near * ");
if (DCL_PTR_CONST (type))
fprintf (of, "const ");
break;
case IPOINTER:
- fprintf (of, "_idata *");
+ fprintf (of, "idata *");
if (DCL_PTR_CONST (type))
fprintf (of, "const ");
break;
case PPOINTER:
- fprintf (of, "_pdata *");
+ fprintf (of, "pdata *");
if (DCL_PTR_CONST (type))
fprintf (of, "const ");
break;
case UPOINTER:
- fprintf (of, " _unkown *");
+ fprintf (of, "unkown *");
if (DCL_PTR_CONST (type))
fprintf (of, "const ");
break;
EMU = $(SDCC_EXTRA_DIR)/emu/rrgb/rrgb
-SDCCFLAGS += --lesspedantic -DREENTRANT= -DGENERIC=
+SDCCFLAGS += --lesspedantic -DREENTRANT=
EXEEXT = .gb
# Port specification for compiling on the host machines version of gcc
SDCC = gcc
-SDCCFLAGS = -Wall -fsigned-char -DREENTRANT= -DGENERIC=
+SDCCFLAGS = -Wall -fsigned-char -DREENTRANT=
EXEEXT = .bin
S51 = ../../sim/ucsim/s51.src/s51
-SDCCFLAGS += --lesspedantic -DREENTRANT=reentrant -DGENERIC= --stack-after-data
+SDCCFLAGS += --lesspedantic -DREENTRANT=reentrant --stack-after-data
OBJEXT = .rel
EXEEXT = .ihx
RRZ80 = $(SDCC_EXTRA_DIR)/emu/rrz80/rrz80
-SDCCFLAGS += --lesspedantic --profile -DREENTRANT= -DGENERIC=
+SDCCFLAGS += --lesspedantic --profile -DREENTRANT=
EXEEXT = .bin
typedef struct s_devsw {
uchar minors; /* # of minor device numbers */
- int (*dev_init)(uchar NAME(minor));
- int (*dev_open)(uchar NAME(minor));
- int (*dev_close)(uchar NAME(minor));
- int (*dev_read)(uchar NAME(minor), uchar NAME(w));
- int (*dev_write)(uchar NAME(minor), uchar NAME(w));
- int (*dev_ioctl)(uchar NAME(minor), int cmd, void *data);
+ int (*dev_init)(uchar NAME(minor)) REENTRANT;
+ int (*dev_open)(uchar NAME(minor)) REENTRANT;
+ int (*dev_close)(uchar NAME(minor)) REENTRANT;
+ int (*dev_read)(uchar NAME(minor), uchar NAME(w)) REENTRANT;
+ int (*dev_write)(uchar NAME(minor), uchar NAME(w)) REENTRANT;
+ int (*dev_ioctl)(uchar NAME(minor), int cmd, void *data) REENTRANT;
} devsw_t;
static int
-_init(uchar minor)
+_init(uchar minor) REENTRANT
{
return minor;
}