diff --git a/doc/Changelog b/doc/Changelog index 782a92fb8..45fe8eadc 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -21,6 +21,7 @@ - Fix memory leak when message parse fails partway through copy. - remove unused udpsize assignment in message encode. - nicer bio free code in unbound-anchor. + - annotate exit functions with noreturn in unbound-control. 11 September 2018: Wouter - Fixed unused return value warnings in contrib/fastrpz.patch for diff --git a/smallapp/unbound-control.c b/smallapp/unbound-control.c index 9e4c006f3..54be62e65 100644 --- a/smallapp/unbound-control.c +++ b/smallapp/unbound-control.c @@ -73,6 +73,10 @@ #include #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). */ static void usage(void)