Made a declaration a little less suspicious, and removed # from proto.make

This commit is contained in:
ceriel 1992-06-25 17:41:51 +00:00
parent 92a6e5c426
commit aba0ed2f52
2 changed files with 2 additions and 3 deletions

View file

@ -149,7 +149,7 @@ struct lines {
struct procstat { struct procstat {
line_t *s_fline; /* points to first line of procedure */ line_t *s_fline; /* points to first line of procedure */
locl_t (*s_locl)[]; /* pointer to local labels */ locl_t (*s_locl)[1]; /* pointer to local labels */
proc_t *s_curpro; /* identifies current procedure */ proc_t *s_curpro; /* identifies current procedure */
relc_t *s_fdata; /* last datareloc before procedure */ relc_t *s_fdata; /* last datareloc before procedure */
stat_t *s_prevstat; /* backward chain of nested procedures */ stat_t *s_prevstat; /* backward chain of nested procedures */

View file

@ -54,8 +54,7 @@ pr:
@pr $(SRC_DIR)/ass00.h $(SRC_DIR)/assex.h $(SRC_DIR)/ass?0.c $(SRC_DIR)/ass[rcd]?.c $(SRC_DIR)/maktab.c @pr $(SRC_DIR)/ass00.h $(SRC_DIR)/assex.h $(SRC_DIR)/ass?0.c $(SRC_DIR)/ass[rcd]?.c $(SRC_DIR)/maktab.c
depend: asstb.c depend: asstb.c
sed '/^#DEPENDENCIES/,$$d' Makefile >Makefile.new rm_deps Makefile >Makefile.new
echo '#DEPENDENCIES' >>Makefile.new
for i in $(CFILES) ; do \ for i in $(CFILES) ; do \
echo "`basename $$i .c`.$$(SUF): $$i" >> Makefile.new ; \ echo "`basename $$i .c`.$$(SUF): $$i" >> Makefile.new ; \
echo ' $$(CC) -c $$(CFLAGS)' $$i >> Makefile.new ; \ echo ' $$(CC) -c $$(CFLAGS)' $$i >> Makefile.new ; \