From d1b18af7eea09312825a29bc8c6e797a845bdf77 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 Nov 2020 14:19:41 +0100 Subject: Clean up include guards --- src/Queue.hpp | 8 ++++---- src/UIFile.hpp | 8 ++++---- src/jackey.h | 7 ++++++- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/Queue.hpp b/src/Queue.hpp index 7f1e399..96d267e 100644 --- a/src/Queue.hpp +++ b/src/Queue.hpp @@ -1,5 +1,5 @@ /* This file is part of Patchage. - * Copyright 2007-2017 David Robillard + * Copyright 2007-2020 David Robillard * * Patchage is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free @@ -13,8 +13,8 @@ * Patchage. If not, see . */ -#ifndef QUEUE_HPP_INCLUDED -#define QUEUE_HPP_INCLUDED +#ifndef PATCHAGE_QUEUE_HPP +#define PATCHAGE_QUEUE_HPP #include #include @@ -126,4 +126,4 @@ Queue::pop() _front = (_front.load() + 1) % (_size); } -#endif // QUEUE_HPP_INCLUDED +#endif // PATCHAGE_QUEUE_HPP diff --git a/src/UIFile.hpp b/src/UIFile.hpp index 72dd48a..e87a6d9 100644 --- a/src/UIFile.hpp +++ b/src/UIFile.hpp @@ -1,5 +1,5 @@ /* This file is part of Patchage. - * Copyright 2007-2014 David Robillard + * Copyright 2007-2020 David Robillard * * Patchage is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free @@ -14,8 +14,8 @@ * along with Patchage. If not, see . */ -#ifndef PATCHAGE_GLADEFILE_HPP -#define PATCHAGE_GLADEFILE_HPP +#ifndef PATCHAGE_UIFILE_HPP +#define PATCHAGE_UIFILE_HPP #include "patchage_config.h" @@ -67,4 +67,4 @@ public: } }; -#endif // PATCHAGE_GLADEFILE_HPP +#endif // PATCHAGE_UIFILE_HPP diff --git a/src/jackey.h b/src/jackey.h index 02a7735..2c0e298 100644 --- a/src/jackey.h +++ b/src/jackey.h @@ -1,5 +1,5 @@ /* - Copyright 2014 David Robillard + Copyright 2014-2020 David Robillard Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above @@ -14,6 +14,9 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifndef JACKEY_H +#define JACKEY_H + /** The supported event types of an event port. @@ -70,3 +73,5 @@ other relevance to order values. */ #define JACKEY_ORDER "http://jackaudio.org/metadata/order" + +#endif // JACKEY_H -- cgit v1.2.1