Warns cleanups. Don't use gccism -Wall.
This commit is contained in:
parent
9178fa121e
commit
054bbc7bc3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87293
@ -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…
Reference in New Issue
Block a user