summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/delete
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-10-10 06:58:42 +0000
committersobomax <sobomax@FreeBSD.org>2001-10-10 06:58:42 +0000
commitf868b9c47960524d92db14074160719f0443e89d (patch)
tree1de2e807d5d23d9f6bc7f84146adea4b1a5d4d51 /usr.sbin/pkg_install/delete
parent84f950f9779920910dd92f9d0d2fed07abb54e35 (diff)
downloadFreeBSD-src-f868b9c47960524d92db14074160719f0443e89d.zip
FreeBSD-src-f868b9c47960524d92db14074160719f0443e89d.tar.gz
WARNS=2 cleanup.
Tested on: i386, alpha MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/pkg_install/delete')
-rw-r--r--usr.sbin/pkg_install/delete/Makefile2
-rw-r--r--usr.sbin/pkg_install/delete/main.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/delete/Makefile b/usr.sbin/pkg_install/delete/Makefile
index 9bbaa8a..f08fcc4 100644
--- a/usr.sbin/pkg_install/delete/Makefile
+++ b/usr.sbin/pkg_install/delete/Makefile
@@ -5,6 +5,8 @@ SRCS= main.c perform.c
CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib
+WARNS?= 2
+
DPADD= ${LIBINSTALL} ${LIBFETCH} ${LIBMD}
LDADD= ${LIBINSTALL} -lfetch -lmd
diff --git a/usr.sbin/pkg_install/delete/main.c b/usr.sbin/pkg_install/delete/main.c
index 5538838e..b537ebd 100644
--- a/usr.sbin/pkg_install/delete/main.c
+++ b/usr.sbin/pkg_install/delete/main.c
@@ -47,7 +47,7 @@ main(int argc, char **argv)
int ch, error;
char **pkgs, **start;
char *pkgs_split;
- char *tmp;
+ const char *tmp;
struct stat stat_s;
pkgs = start = argv;
OpenPOWER on IntegriCloud