diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2001-12-03 21:13:03 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2001-12-03 21:13:03 +0000 |
commit | a7b69c0f254ce2389cf9aa2b43ba1586af409d69 (patch) | |
tree | 67c2458a50c810ec15a8540e06630a1e45b88401 /usr.bin/objformat | |
parent | 3b51ef342795c9fde7869e8f9160b25e7286eb86 (diff) | |
download | FreeBSD-src-a7b69c0f254ce2389cf9aa2b43ba1586af409d69.zip FreeBSD-src-a7b69c0f254ce2389cf9aa2b43ba1586af409d69.tar.gz |
Warns cleanups. Don't use gccism -Wall.
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 813f324..571beb5 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 8d75f5e..3e9e410 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"); |