diff options
-rw-r--r-- | bin/ed/Makefile | 1 | ||||
-rw-r--r-- | bin/ed/main.c | 7 |
2 files changed, 1 insertions, 7 deletions
diff --git a/bin/ed/Makefile b/bin/ed/Makefile index 32e2dfa..5a7e37d 100644 --- a/bin/ed/Makefile +++ b/bin/ed/Makefile @@ -4,7 +4,6 @@ PROG= ed SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c -WARNS?= 2 LINKS= ${BINDIR}/ed ${BINDIR}/red MLINKS= ed.1 red.1 diff --git a/bin/ed/main.c b/bin/ed/main.c index 2273c95..fad1866 100644 --- a/bin/ed/main.c +++ b/bin/ed/main.c @@ -103,15 +103,10 @@ const char usage[] = "usage: %s [-] [-sx] [-p string] [file]\n"; /* ed: line editor */ int -main(int argc, char *argv[]) +main(volatile int argc, char ** volatile argv) { int c, n; long status = 0; -#if __GNUC__ - /* Avoid longjmp clobbering */ - (void) &argc; - (void) &argv; -#endif (void)setlocale(LC_ALL, ""); |