diff options
author | David Malone <dwmalone@FreeBSD.org> | 2001-12-03 21:13:03 +0000 |
---|---|---|
committer | David Malone <dwmalone@FreeBSD.org> | 2001-12-03 21:13:03 +0000 |
commit | 054bbc7bc3854eb401856e1f1001b33767cc6b74 (patch) | |
tree | 67c2458a50c810ec15a8540e06630a1e45b88401 /usr.bin/objformat | |
parent | 9178fa121e1e05b34b74b8634eae4aa73aaa34d0 (diff) | |
download | src-054bbc7bc3854eb401856e1f1001b33767cc6b74.tar.gz src-054bbc7bc3854eb401856e1f1001b33767cc6b74.zip |
Warns cleanups. Don't use gccism -Wall.
Notes
Notes:
svn path=/head/; revision=87293
Diffstat (limited to 'usr.bin/objformat')
-rw-r--r-- | usr.bin/objformat/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/objformat/objformat.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/objformat/Makefile b/usr.bin/objformat/Makefile index 813f324bb391..571beb506b4f 100644 --- a/usr.bin/objformat/Makefile +++ b/usr.bin/objformat/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PROG= objformat -CFLAGS+= -Wall +WARNS?= 2 NOSHARED?= YES LINKS+= ${BINDIR}/objformat ${BINDIR}/addr2line diff --git a/usr.bin/objformat/objformat.c b/usr.bin/objformat/objformat.c index 8d75f5ea64ae..3e9e4101d0e5 100644 --- a/usr.bin/objformat/objformat.c +++ b/usr.bin/objformat/objformat.c @@ -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"); |