aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-26 17:44:23 +0100
committerDavid Robillard <d@drobilla.net>2020-12-26 17:55:23 +0100
commit8d2251749da9e0ae4254502edfc8917236a9b8c0 (patch)
tree233dc28780ed351c255a0f66ad206cca269d44b4 /plugins
parentc2816ab42b458c9c5202197b3df665340f57dddd (diff)
downloadlv2-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 'plugins')
-rw-r--r--plugins/eg-sampler.lv2/peaks.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/eg-sampler.lv2/peaks.h b/plugins/eg-sampler.lv2/peaks.h
index 39d56e7..2bf1023 100644
--- a/plugins/eg-sampler.lv2/peaks.h
+++ b/plugins/eg-sampler.lv2/peaks.h
@@ -15,6 +15,9 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifndef PEAKS_H_INCLUDED
+#define PEAKS_H_INCLUDED
+
/**
This file defines utilities for sending and receiving audio peaks for
waveform display. The functionality is divided into two objects:
@@ -25,9 +28,6 @@
requested, with reasonably sized incremental updates sent over plugin ports.
*/
-#ifndef PEAKS_H_INCLUDED
-#define PEAKS_H_INCLUDED
-
#include "lv2/atom/atom.h"
#include "lv2/atom/forge.h"
#include "lv2/atom/util.h"