X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Flogging.h;h=146601867494b209495621091fc502d0cd71a93a;hb=4c81a2b7cb0899f52a228249beb91f2814bbe601;hp=2b5da45cecd584aa0e5bf9470c46c8bfee92a47b;hpb=0235b0db7de5bcacdb3650c92461f2ce5eb2143d;p=babeltrace.git diff --git a/include/babeltrace2/logging.h b/include/babeltrace2/logging.h index 2b5da45c..14660186 100644 --- a/include/babeltrace2/logging.h +++ b/include/babeltrace2/logging.h @@ -7,6 +7,8 @@ #ifndef BABELTRACE2_LOGGING_H #define BABELTRACE2_LOGGING_H +/* IWYU pragma: private, include */ + #ifndef __BT_IN_BABELTRACE_H # error "Please include instead." #endif @@ -187,7 +189,8 @@ individual components and query operations. @sa bt_logging_get_global_level() — Returns the current library's global logging level. */ -extern void bt_logging_set_global_level(bt_logging_level logging_level); +extern void bt_logging_set_global_level(bt_logging_level logging_level) + __BT_NOEXCEPT; /*! @brief @@ -199,7 +202,7 @@ extern void bt_logging_set_global_level(bt_logging_level logging_level); @sa bt_logging_set_global_level() — Sets the current library's global logging level. */ -extern bt_logging_level bt_logging_get_global_level(void); +extern bt_logging_level bt_logging_get_global_level(void) __BT_NOEXCEPT; /*! @brief @@ -218,7 +221,7 @@ are not built. @sa bt_logging_get_global_level() — Returns the current library's global logging level. */ -extern bt_logging_level bt_logging_get_minimal_level(void); +extern bt_logging_level bt_logging_get_minimal_level(void) __BT_NOEXCEPT; /*! @} */