diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2001-12-03 21:07:23 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2001-12-03 21:07:23 +0000 |
commit | 81ff03de2599ea78cafdde0adb335d55ca2d5304 (patch) | |
tree | d23d4593bd65c58df56697336b0722824dea97fd /usr.bin/mktemp | |
parent | fc0ee8a40b954c0928df0016d1dcca54a30433bd (diff) | |
download | FreeBSD-src-81ff03de2599ea78cafdde0adb335d55ca2d5304.zip FreeBSD-src-81ff03de2599ea78cafdde0adb335d55ca2d5304.tar.gz |
Warns cleanups.
Diffstat (limited to 'usr.bin/mktemp')
-rw-r--r-- | usr.bin/mktemp/Makefile | 1 | ||||
-rw-r--r-- | usr.bin/mktemp/mktemp.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mktemp/Makefile b/usr.bin/mktemp/Makefile index 76ebee6..b4d6a2f 100644 --- a/usr.bin/mktemp/Makefile +++ b/usr.bin/mktemp/Makefile @@ -1,5 +1,6 @@ # $FreeBSD$ PROG= mktemp +WARNS?= 2 .include <bsd.prog.mk> diff --git a/usr.bin/mktemp/mktemp.c b/usr.bin/mktemp/mktemp.c index 3fe079f..d20ca3d 100644 --- a/usr.bin/mktemp/mktemp.c +++ b/usr.bin/mktemp/mktemp.c @@ -52,7 +52,8 @@ int main(int argc, char **argv) { int c, fd, ret; - char *tmpdir, *prefix; + char *tmpdir; + const char *prefix; char *name; int dflag, qflag, tflag, uflag; |