Warns cleanups. Don't use gccism -Wall.
This commit is contained in:
parent
9178fa121e
commit
054bbc7bc3
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= objformat
|
||||
CFLAGS+= -Wall
|
||||
WARNS?= 2
|
||||
NOSHARED?= YES
|
||||
|
||||
LINKS+= ${BINDIR}/objformat ${BINDIR}/addr2line
|
||||
|
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user