Made a declaration a little less suspicious, and removed # from proto.make
authorceriel <none@none>
Thu, 25 Jun 1992 17:41:51 +0000 (17:41 +0000)
committerceriel <none@none>
Thu, 25 Jun 1992 17:41:51 +0000 (17:41 +0000)
util/ass/ass00.h
util/ass/proto.make

index 140b2d4..a30cdae 100644 (file)
@@ -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 */
index db5c8d5..1422eaf 100644 (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
 
 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 ; \