]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Move the NO_SANITIZE attribute to a correct place (gcc is picky)
authorOndřej Surý <ondrej@sury.org>
Tue, 14 Jan 2020 08:43:37 +0000 (09:43 +0100)
committerOndřej Surý <ondrej@sury.org>
Tue, 14 Jan 2020 12:12:13 +0000 (13:12 +0100)
lib/isc/log.c

index cb6238562d257286bc1d370304cc8b180771b44b..65c56774a895f1394062226fe79970822ba30618 100644 (file)
@@ -1448,8 +1448,8 @@ isc_log_open(isc_logchannel_t *channel) {
        return (result);
 }
 
-bool
-isc_log_wouldlog(isc_log_t *lctx, int level) ISC_NO_SANITIZE {
+bool ISC_NO_SANITIZE
+isc_log_wouldlog(isc_log_t *lctx, int level) {
        /*
         * Try to avoid locking the mutex for messages which can't
         * possibly be logged to any channels -- primarily debugging