summaryrefslogtreecommitdiffstats
path: root/usr.bin/ar/ar.h
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-10-22 02:12:06 +0000
committereadler <eadler@FreeBSD.org>2012-10-22 02:12:06 +0000
commit71006885315d22febcbe84cb2a12c3d9eee76e3e (patch)
tree6a8bef92b1c44f3e1e90ded274132f29d90189b2 /usr.bin/ar/ar.h
parentfb692da3979a13fe7c7dd41cba6fba91d0193366 (diff)
downloadFreeBSD-src-71006885315d22febcbe84cb2a12c3d9eee76e3e.zip
FreeBSD-src-71006885315d22febcbe84cb2a12c3d9eee76e3e.tar.gz
Mark bsdar_errc as __dead2 to help code analysis tools.
PR: bin/172636 Submitted by: Erik Cederstrand <erik@cederstrand.dk> Approved by: cperciva MFC after: 3 days
Diffstat (limited to 'usr.bin/ar/ar.h')
-rw-r--r--usr.bin/ar/ar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ar/ar.h b/usr.bin/ar/ar.h
index 77dd492..957a985 100644
--- a/usr.bin/ar/ar.h
+++ b/usr.bin/ar/ar.h
@@ -111,7 +111,7 @@ struct bsdar {
};
void bsdar_errc(struct bsdar *, int _eval, int _code,
- const char *fmt, ...);
+ const char *fmt, ...) __dead2;
void bsdar_warnc(struct bsdar *, int _code, const char *fmt, ...);
void ar_mode_d(struct bsdar *bsdar);
void ar_mode_m(struct bsdar *bsdar);
OpenPOWER on IntegriCloud