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/core | |
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/core')
-rw-r--r-- | lv2/core/lv2.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lv2/core/lv2.h b/lv2/core/lv2.h index 754b07a..c0376e9 100644 --- a/lv2/core/lv2.h +++ b/lv2/core/lv2.h @@ -18,6 +18,9 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifndef LV2_H_INCLUDED +#define LV2_H_INCLUDED + /** @defgroup lv2 LV2 @@ -36,9 +39,6 @@ @{ */ -#ifndef LV2_H_INCLUDED -#define LV2_H_INCLUDED - #include <stdint.h> // clang-format off @@ -477,12 +477,12 @@ typedef const LV2_Lib_Descriptor * const LV2_Feature *const * features); #ifdef __cplusplus -} +} /* extern "C" */ #endif -#endif /* LV2_H_INCLUDED */ - /** @} @} */ + +#endif /* LV2_H_INCLUDED */ |