]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- annotate exit functions with noreturn in unbound-control.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 13 Sep 2018 14:43:43 +0000 (14:43 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 13 Sep 2018 14:43:43 +0000 (14:43 +0000)
git-svn-id: file:///svn/unbound/trunk@4906 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
smallapp/unbound-control.c

index 782a92fb879c446022613408f4c2ab69aebdc9d5..45fe8eadc543c39316906ef79fea377593ce1899 100644 (file)
@@ -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
index 9e4c006f3b5d4aa48bb7400aa850741df179c751..54be62e65dc15f9a5a680419ca055af4bc382022 100644 (file)
 #include <sys/un.h>
 #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)