From b954fe6ba75aafa50bef85a7ddcf64b426aa1da9 Mon Sep 17 00:00:00 2001 From: dfffffff Date: Wed, 21 Sep 2016 14:33:51 -0400 Subject: [PATCH] fixed v7 ed not compiling on gcc6809, added v7 ed to build.mk --- Applications/V7/cmd/ed.c | 3 +-- Applications/build.mk | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Applications/V7/cmd/ed.c b/Applications/V7/cmd/ed.c index a294880e..3723f5ea 100644 --- a/Applications/V7/cmd/ed.c +++ b/Applications/V7/cmd/ed.c @@ -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 diff --git a/Applications/build.mk b/Applications/build.mk index e6861f5b..6859d91a 100644 --- a/Applications/build.mk +++ b/Applications/build.mk @@ -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 -- 2.34.1