diff options
Diffstat (limited to 'usr.bin/basename')
-rw-r--r-- | usr.bin/basename/Makefile | 1 | ||||
-rw-r--r-- | usr.bin/basename/basename.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/basename/Makefile b/usr.bin/basename/Makefile index 21354bd3a113..d74d67007e38 100644 --- a/usr.bin/basename/Makefile +++ b/usr.bin/basename/Makefile @@ -1,6 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 PROG= basename +CFLAGS+=-Wall MLINKS= basename.1 dirname.1 .include <bsd.prog.mk> diff --git a/usr.bin/basename/basename.c b/usr.bin/basename/basename.c index 596401311759..1a6aa485be05 100644 --- a/usr.bin/basename/basename.c +++ b/usr.bin/basename/basename.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[] = "@(#)basename.c 8.4 (Berkeley) 5/4/95"; +static const char sccsid[] = "@(#)basename.c 8.4 (Berkeley) 5/4/95"; #endif /* not lint */ #include <stdio.h> |