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:
parent
079375d12b
commit
1d1694a73b
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user