From: ceriel Date: Thu, 25 Jun 1992 17:41:51 +0000 (+0000) Subject: Made a declaration a little less suspicious, and removed # from proto.make X-Git-Tag: release-5-5~464 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=aba0ed2f527aae8fed968707406d432084b6e5cf;p=ack.git Made a declaration a little less suspicious, and removed # from proto.make --- diff --git a/util/ass/ass00.h b/util/ass/ass00.h index 140b2d4ce..a30cdae74 100644 --- a/util/ass/ass00.h +++ b/util/ass/ass00.h @@ -149,7 +149,7 @@ struct lines { struct procstat { 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 */ relc_t *s_fdata; /* last datareloc before procedure */ stat_t *s_prevstat; /* backward chain of nested procedures */ diff --git a/util/ass/proto.make b/util/ass/proto.make index db5c8d5cf..1422eaf36 100644 --- a/util/ass/proto.make +++ b/util/ass/proto.make @@ -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 depend: asstb.c - sed '/^#DEPENDENCIES/,$$d' Makefile >Makefile.new - echo '#DEPENDENCIES' >>Makefile.new + rm_deps Makefile >Makefile.new for i in $(CFILES) ; do \ echo "`basename $$i .c`.$$(SUF): $$i" >> Makefile.new ; \ echo ' $$(CC) -c $$(CFLAGS)' $$i >> Makefile.new ; \