From 8d2251749da9e0ae4254502edfc8917236a9b8c0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 26 Dec 2020 17:44:23 +0100 Subject: 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. --- plugins/eg-sampler.lv2/peaks.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins') 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" -- cgit v1.2.1