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/data-access | |
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/data-access')
-rw-r--r-- | lv2/data-access/data-access.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lv2/data-access/data-access.h b/lv2/data-access/data-access.h index 90ba2ff..fb930ec 100644 --- a/lv2/data-access/data-access.h +++ b/lv2/data-access/data-access.h @@ -15,6 +15,9 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifndef LV2_DATA_ACCESS_H +#define LV2_DATA_ACCESS_H + /** @defgroup data-access Data Access @ingroup lv2 @@ -26,9 +29,6 @@ @{ */ -#ifndef LV2_DATA_ACCESS_H -#define LV2_DATA_ACCESS_H - // clang-format off #define LV2_DATA_ACCESS_URI "http://lv2plug.in/ns/ext/data-access" ///< http://lv2plug.in/ns/ext/data-access @@ -67,8 +67,8 @@ typedef struct { } /* extern "C" */ #endif -#endif /* LV2_DATA_ACCESS_H */ - /** @} */ + +#endif /* LV2_DATA_ACCESS_H */ |