use compliant include guards

pull/25/merge
Oliver Giles 7 years ago
parent 9e1a65ccee
commit bb9486e066

@ -16,8 +16,8 @@
/// You should have received a copy of the GNU General Public License
/// along with Laminar. If not, see <http://www.gnu.org/licenses/>
///
#ifndef _LAMINAR_CONF_H_
#define _LAMINAR_CONF_H_
#ifndef LAMINAR_CONF_H_
#define LAMINAR_CONF_H_
#include <unordered_map>
@ -41,4 +41,4 @@ int StringMap::convert(std::string e);
StringMap parseConfFile(const char* path);
#endif // _LAMINAR_CONF_H_
#endif // LAMINAR_CONF_H_

@ -16,8 +16,8 @@
/// You should have received a copy of the GNU General Public License
/// along with Laminar. If not, see <http://www.gnu.org/licenses/>
///
#ifndef _LAMINAR_DATABASE_H_
#define _LAMINAR_DATABASE_H_
#ifndef LAMINAR_DATABASE_H_
#define LAMINAR_DATABASE_H_
#include <string>
#include <functional>
@ -142,4 +142,4 @@ template<> const char* Database::Statement::fetchColumn(int col);
template<> int Database::Statement::fetchColumn(int col);
template<> time_t Database::Statement::fetchColumn(int col);
#endif // _LAMINAR_DATABASE_H_
#endif // LAMINAR_DATABASE_H_

@ -16,8 +16,8 @@
/// You should have received a copy of the GNU General Public License
/// along with Laminar. If not, see <http://www.gnu.org/licenses/>
///
#ifndef INTERFACE_H
#define INTERFACE_H
#ifndef LAMINAR_INTERFACE_H_
#define LAMINAR_INTERFACE_H_
#include "run.h"
@ -118,5 +118,5 @@ struct LaminarInterface {
virtual bool getArtefact(std::string path, std::string& result) = 0;
};
#endif // INTERFACE_H
#endif // LAMINAR_INTERFACE_H_

@ -16,8 +16,8 @@
/// You should have received a copy of the GNU General Public License
/// along with Laminar. If not, see <http://www.gnu.org/licenses/>
///
#ifndef _LAMINAR_LAMINAR_H_
#define _LAMINAR_LAMINAR_H_
#ifndef LAMINAR_LAMINAR_H_
#define LAMINAR_LAMINAR_H_
#include "interface.h"
#include "run.h"
@ -90,4 +90,4 @@ private:
std::string archiveUrl;
};
#endif // _LAMINAR_LAMINAR_H_
#endif // LAMINAR_LAMINAR_H_

@ -16,8 +16,8 @@
/// You should have received a copy of the GNU General Public License
/// along with Laminar. If not, see <http://www.gnu.org/licenses/>
///
#ifndef _LAMINAR_LOG_H_
#define _LAMINAR_LOG_H_
#ifndef LAMINAR_LOG_H_
#define LAMINAR_LOG_H_
#include <kj/debug.h>
@ -33,5 +33,5 @@
#__VA_ARGS__, __VA_ARGS__)
#endif // _LAMINAR_LOG_H_
#endif // LAMINAR_LOG_H_

@ -16,8 +16,8 @@
/// You should have received a copy of the GNU General Public License
/// along with Laminar. If not, see <http://www.gnu.org/licenses/>
///
#ifndef _LAMINAR_NODE_H_
#define _LAMINAR_NODE_H_
#ifndef LAMINAR_NODE_H_
#define LAMINAR_NODE_H_
#include <string>
#include <set>
@ -40,4 +40,4 @@ public:
};
#endif // _LAMINAR_NODE_H_
#endif // LAMINAR_NODE_H_

@ -16,8 +16,8 @@
/// You should have received a copy of the GNU General Public License
/// along with Laminar. If not, see <http://www.gnu.org/licenses/>
///
#ifndef _LAMINAR_RESOURCES_H_
#define _LAMINAR_RESOURCES_H_
#ifndef LAMINAR_RESOURCES_H_
#define LAMINAR_RESOURCES_H_
#include <unordered_map>
#include <utility>
@ -43,4 +43,4 @@ private:
std::unordered_map<std::string, const Resource> resources;
};
#endif // _LAMINAR_RESOURCES_H_
#endif // LAMINAR_RESOURCES_H_

@ -16,8 +16,8 @@
/// You should have received a copy of the GNU General Public License
/// along with Laminar. If not, see <http://www.gnu.org/licenses/>
///
#ifndef _LAMINAR_RUN_H_
#define _LAMINAR_RUN_H_
#ifndef LAMINAR_RUN_H_
#define LAMINAR_RUN_H_
#include <string>
#include <queue>
@ -150,4 +150,4 @@ struct RunSet: public boost::multi_index_container<
// TODO: getters for each index
};
#endif // _LAMINAR_RUN_H_
#endif // LAMINAR_RUN_H_

@ -16,8 +16,8 @@
/// You should have received a copy of the GNU General Public License
/// along with Laminar. If not, see <http://www.gnu.org/licenses/>
///
#ifndef _LAMINAR_SERVER_H_
#define _LAMINAR_SERVER_H_
#ifndef LAMINAR_SERVER_H_
#define LAMINAR_SERVER_H_
#include <kj/async-io.h>
#include <capnp/message.h>
@ -63,4 +63,4 @@ private:
kj::TaskSet tasks;
};
#endif // _LAMINAR_SERVER_H_
#endif // LAMINAR_SERVER_H_

Loading…
Cancel
Save