rpcgen(1): Tag crash() routine as __dead2 for static analyzers

Suggested by:	Coverity
CID:		1305464
Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Conrad Meyer 2016-05-12 03:49:05 +00:00
parent 079375d12b
commit 1d1694a73b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299509
2 changed files with 2 additions and 2 deletions

View File

@ -261,7 +261,7 @@ error(const char *msg)
* Something went wrong, unlink any files that we may have created and then
* die.
*/
void
void __dead2
crash(void)
{
int i;

View File

@ -152,7 +152,7 @@ extern pid_t childpid;
* rpc_util routines
*/
void reinitialize(void);
void crash(void);
void crash(void) __dead2;
void add_type(int len, const char *type);
void storeval(list **lstp, definition *val);
void *xmalloc(size_t size);