summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-27 14:19:41 +0100
committerDavid Robillard <d@drobilla.net>2020-11-27 15:20:08 +0100
commitd1b18af7eea09312825a29bc8c6e797a845bdf77 (patch)
treeec3f9d3c0821baebf585ae7d9c2ce36353540923
parent0bfe044a8d2f5baab02e8e7f599d5459664ba11c (diff)
downloadpatchage-d1b18af7eea09312825a29bc8c6e797a845bdf77.tar.gz
patchage-d1b18af7eea09312825a29bc8c6e797a845bdf77.tar.bz2
patchage-d1b18af7eea09312825a29bc8c6e797a845bdf77.zip
Clean up include guards
-rw-r--r--src/Queue.hpp8
-rw-r--r--src/UIFile.hpp8
-rw-r--r--src/jackey.h7
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 <http://drobilla.net>
+ * Copyright 2007-2020 David Robillard <d@drobilla.net>
*
* 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 <http://www.gnu.org/licenses/>.
*/
-#ifndef QUEUE_HPP_INCLUDED
-#define QUEUE_HPP_INCLUDED
+#ifndef PATCHAGE_QUEUE_HPP
+#define PATCHAGE_QUEUE_HPP
#include <atomic>
#include <cassert>
@@ -126,4 +126,4 @@ Queue<T>::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 <http://drobilla.net>
+ * Copyright 2007-2020 David Robillard <d@drobilla.net>
*
* 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 <http://www.gnu.org/licenses/>.
*/
-#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 <http://drobilla.net>
+ Copyright 2014-2020 David Robillard <d@drobilla.net>
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