diff options
author | David Robillard <d@drobilla.net> | 2020-12-26 17:44:23 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-26 17:55:23 +0100 |
commit | 8d2251749da9e0ae4254502edfc8917236a9b8c0 (patch) | |
tree | 233dc28780ed351c255a0f66ad206cca269d44b4 /lv2/log | |
parent | c2816ab42b458c9c5202197b3df665340f57dddd (diff) | |
download | lv2-8d2251749da9e0ae4254502edfc8917236a9b8c0.tar.xz |
Make include guards surround all header contents
For consistency, and because clang-tidy can't figure out if a define is an
include guard unless it ends the file.
Diffstat (limited to 'lv2/log')
-rw-r--r-- | lv2/log/log.h | 10 | ||||
-rw-r--r-- | lv2/log/logger.h | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/lv2/log/log.h b/lv2/log/log.h index de940d9..cf938ca 100644 --- a/lv2/log/log.h +++ b/lv2/log/log.h @@ -14,6 +14,9 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifndef LV2_LOG_H +#define LV2_LOG_H + /** @defgroup log Log @ingroup lv2 @@ -25,9 +28,6 @@ @{ */ -#ifndef LV2_LOG_H -#define LV2_LOG_H - // clang-format off #define LV2_LOG_URI "http://lv2plug.in/ns/ext/log" ///< http://lv2plug.in/ns/ext/log @@ -108,8 +108,8 @@ typedef struct { } /* extern "C" */ #endif -#endif /* LV2_LOG_H */ - /** @} */ + +#endif /* LV2_LOG_H */ diff --git a/lv2/log/logger.h b/lv2/log/logger.h index 6e89ac8..669069c 100644 --- a/lv2/log/logger.h +++ b/lv2/log/logger.h @@ -14,6 +14,9 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifndef LV2_ATOM_LOGGER_H +#define LV2_ATOM_LOGGER_H + /** @defgroup logger Logger @ingroup log @@ -25,9 +28,6 @@ @{ */ -#ifndef LV2_ATOM_LOGGER_H -#define LV2_ATOM_LOGGER_H - #include "lv2/log/log.h" #include "lv2/urid/urid.h" @@ -152,8 +152,8 @@ lv2_log_warning(LV2_Log_Logger* logger, const char* fmt, ...) } /* extern "C" */ #endif -#endif /* LV2_LOG_LOGGER_H */ - /** @} */ + +#endif /* LV2_LOG_LOGGER_H */ |