* Makefile.in: Make SunOS halfdone VPATH work.

* p1.c:  Lint picked up by HP native compiler.
This commit is contained in:
John Gilmore 1993-02-02 00:45:59 +00:00
parent 1fa643be8e
commit a082325bd2
2 changed files with 4 additions and 5 deletions

View file

@ -75,9 +75,8 @@ p2.c:writecode
writecode:writecode.c
$(CC) -o writecode -g $(CSEARCH) $(srcdir)/writecode.c
run.o: run.c
perifs.o: perifs.c
#### host and target dependent Makefile fragments come in here.
###

View file

@ -51,11 +51,11 @@ littleendian;
static void
meminit ()
{
if (!saved_state.mem)
if (saved_state.mem == 0)
{
int tmp;
saved_state.mem = calloc (1024, 64);
saved_state.mem = (unsigned short *)calloc (1024, 64);
littleendian.i = 1;
/* initialze the array of pointers to byte registers */
for (tmp = 0; tmp < 8; tmp++)