fixed v7 ed not compiling on gcc6809, added v7 ed to build.mk
authordfffffff <dflamand@gmail.com>
Wed, 21 Sep 2016 18:33:51 +0000 (14:33 -0400)
committerdfffffff <dflamand@gmail.com>
Wed, 21 Sep 2016 18:33:51 +0000 (14:33 -0400)
Applications/V7/cmd/ed.c
Applications/build.mk

index a294880..3723f5e 100644 (file)
@@ -608,7 +608,7 @@ void onhup(int unused)
        quit(0);
 }
 
-void error(char *s)
+void error(const char *s)
 {
        register int c;
 
@@ -1609,4 +1609,3 @@ out:
        linp = lp;
 }
 
-       
\ No newline at end of file
index e6861f5..6859d91 100644 (file)
@@ -13,7 +13,7 @@ util_apps := \
 # ...and in V7/cmd.
 
 cmd_apps := \
-       ac at atrun col comm cron crypt dc dd deroff diff3 diff diffh \
+       ac at atrun col comm cron crypt dc dd deroff diff3 diff diffh ed \
        join makekey mesg newgrp pr ptx rev split su sum test time tsort \
        wall