summaryrefslogtreecommitdiffstats
path: root/bin/ed/Makefile
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2001-08-06 22:01:31 +0000
committermike <mike@FreeBSD.org>2001-08-06 22:01:31 +0000
commiteced21209cdad6cf4ff64c6008b71b45a226d905 (patch)
tree0469fc49295a48c1140722bbff569214e2135f58 /bin/ed/Makefile
parente7f429490d285f94132046b59db80b6d1fe253c4 (diff)
downloadFreeBSD-src-eced21209cdad6cf4ff64c6008b71b45a226d905.zip
FreeBSD-src-eced21209cdad6cf4ff64c6008b71b45a226d905.tar.gz
o Correctly define rcsid.
o Add consts where appropriate. o Rename some variables that were shadowing global declarations. o Remove register storage-classes. o Make errmsg a const, so we can just set error messages instead of using sprintf/strcpy. o Set WARNS=2 Reviewed by: bde, des
Diffstat (limited to 'bin/ed/Makefile')
-rw-r--r--bin/ed/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ed/Makefile b/bin/ed/Makefile
index 95901a6..93d5ee0 100644
--- a/bin/ed/Makefile
+++ b/bin/ed/Makefile
@@ -2,6 +2,7 @@
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
OpenPOWER on IntegriCloud