getopt: a function that calls exit(3) should be marked noreturn
This commit is contained in:
parent
83adc41d5c
commit
47493ba39c
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ struct lgetopt
|
|||
|
||||
extern struct lgetopt myopts[];
|
||||
|
||||
void usage(const char *);
|
||||
void usage(const char *) __attribute__((noreturn));
|
||||
void parseargs(int *, char * const **, struct lgetopt *);
|
||||
|
||||
#endif /* __GETOPT_H_INCLUDED__ */
|
||||
|
|
Loading…
Reference in a new issue