mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- annotate exit functions with noreturn in unbound-control.
git-svn-id: file:///svn/unbound/trunk@4906 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
f7516e6b2b
commit
d275505df6
2 changed files with 5 additions and 0 deletions
|
|
@ -21,6 +21,7 @@
|
||||||
- Fix memory leak when message parse fails partway through copy.
|
- Fix memory leak when message parse fails partway through copy.
|
||||||
- remove unused udpsize assignment in message encode.
|
- remove unused udpsize assignment in message encode.
|
||||||
- nicer bio free code in unbound-anchor.
|
- nicer bio free code in unbound-anchor.
|
||||||
|
- annotate exit functions with noreturn in unbound-control.
|
||||||
|
|
||||||
11 September 2018: Wouter
|
11 September 2018: Wouter
|
||||||
- Fixed unused return value warnings in contrib/fastrpz.patch for
|
- Fixed unused return value warnings in contrib/fastrpz.patch for
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,10 @@
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
static void usage(void) ATTR_NORETURN;
|
||||||
|
static void ssl_err(const char* s) ATTR_NORETURN;
|
||||||
|
static void ssl_path_err(const char* s, const char *path) ATTR_NORETURN;
|
||||||
|
|
||||||
/** Give unbound-control usage, and exit (1). */
|
/** Give unbound-control usage, and exit (1). */
|
||||||
static void
|
static void
|
||||||
usage(void)
|
usage(void)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue