Skip to content

Commit

Permalink
Mark bsdar_errc as __dead2 to help code analysis tools.
Browse files Browse the repository at this point in the history
PR:		bin/172636
Submitted by:	Erik Cederstrand <[email protected]>
Approved by:	cperciva
MFC after:	3 days
  • Loading branch information
grimreaper committed Oct 22, 2012
1 parent 168ff9a commit 5d08632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr.bin/ar/ar.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5d08632

Please sign in to comment.