Warns cleanups. Don't use gccism -Wall.

This commit is contained in:
David Malone 2001-12-03 21:13:03 +00:00
parent 9178fa121e
commit 054bbc7bc3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87293
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PROG= objformat
CFLAGS+= -Wall
WARNS?= 2
NOSHARED?= YES
LINKS+= ${BINDIR}/objformat ${BINDIR}/addr2line

View File

@ -39,7 +39,7 @@ main(int argc, char **argv)
char objformat[32];
char *path, *chunk;
char *cmd, *newcmd = NULL;
char *objformat_path;
const char *objformat_path;
if (getobjformat(objformat, sizeof objformat, &argc, argv) == -1)
errx(1, "Invalid object format");