summaryrefslogtreecommitdiffstats
path: root/usr.bin/dirname
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/dirname')
-rw-r--r--usr.bin/dirname/Makefile1
-rw-r--r--usr.bin/dirname/dirname.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/dirname/Makefile b/usr.bin/dirname/Makefile
index 76b4089..0350db6 100644
--- a/usr.bin/dirname/Makefile
+++ b/usr.bin/dirname/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= dirname
+CFLAGS+=-Wall
NOMAN= noman
.include <bsd.prog.mk>
diff --git a/usr.bin/dirname/dirname.c b/usr.bin/dirname/dirname.c
index c6ca326..056dc51 100644
--- a/usr.bin/dirname/dirname.c
+++ b/usr.bin/dirname/dirname.c
@@ -32,13 +32,13 @@
*/
#ifndef lint
-static char copyright[] =
+static const char copyright[] =
"@(#) Copyright (c) 1991, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)dirname.c 8.4 (Berkeley) 5/4/95";
+static const char sccsid[] = "@(#)dirname.c 8.4 (Berkeley) 5/4/95";
#endif /* not lint */
#include <stdio.h>
OpenPOWER on IntegriCloud