Skip to content

Commit 8a7d27f

Browse files
committed
Consistent Include Guard Style
1 parent b932f5a commit 8a7d27f

4 files changed

Lines changed: 16 additions & 16 deletions

File tree

include/dtlmod.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
/* This program is free software; you can redistribute it and/or modify it
44
* under the terms of the license (GNU LGPL) which comes with this package. */
55

6-
#ifndef DTLMOD_DTLMOD_HPP
7-
#define DTLMOD_DTLMOD_HPP
6+
#ifndef __DTLMOD_DTLMOD_HPP__
7+
#define __DTLMOD_DTLMOD_HPP__
88

99
#include <dtlmod/DTL.hpp>
1010
#include <dtlmod/Engine.hpp>
@@ -19,4 +19,4 @@
1919
#include <dtlmod/Transport.hpp>
2020
#include <dtlmod/Variable.hpp>
2121

22-
#endif // DTLMOD_DTLMOD_HPP
22+
#endif // __DTLMOD_DTLMOD_HPP__

include/dtlmod/DTLException.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
/* This program is free software; you can redistribute it and/or modify it
44
* under the terms of the license (GNU LGPL) which comes with this package. */
55

6-
#ifndef DTLMOD_DTLEXCEPTION_HPP
7-
#define DTLMOD_DTLEXCEPTION_HPP
6+
#ifndef __DTLMOD_DTLEXCEPTION_HPP__
7+
#define __DTLMOD_DTLEXCEPTION_HPP__
88

99
#include <simgrid/Exception.hpp>
1010

@@ -60,4 +60,4 @@ DECLARE_DTLMOD_EXCEPTION(GetWhenNoTransactionException, "Impossible to get. No t
6060

6161
} // namespace dtlmod
6262

63-
#endif // DTLMOD_EXCEPTION_HPP
63+
#endif // __DTLMOD_EXCEPTION_HPP__

include/dtlmod/version.hpp.in

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
/* This program is free software; you can redistribute it and/or modify it
44
* under the terms of the license (GNU LGPL) which comes with this package. */
55

6-
#ifndef DTLMOD_VERSION_HPP
7-
#define DTLMOD_VERSION_HPP
6+
#ifndef __DTLMOD_VERSION_HPP__
7+
#define __DTLMOD_VERSION_HPP__
88

99
#define DTLMOD_GIT_VERSION "@GIT_VERSION@"
1010

11-
/** Define the version numbers of the used header files.
12-
See dtlmod_version_get() to retrieve the version of the dynamic library. */
11+
/// Define the version numbers of the used header files.
12+
/// See dtlmod_version_get() to retrieve the version of the dynamic library.
1313
#define DTLMOD_VERSION_MAJOR @DTLMOD_VERSION_MAJOR@
1414
#define DTLMOD_VERSION_MINOR @DTLMOD_VERSION_MINOR@
1515
#define DTLMOD_VERSION_PATCH @DTLMOD_VERSION_PATCH@
1616
#define DTLMOD_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
1717

18-
/** Retrieves the version numbers of the used dynamic library (so, DLL or dynlib), while
19-
DTLMOD_VERSION_MAJOR and friends give the version numbers of the used header files */
18+
/// Retrieves the version numbers of the used dynamic library (so, DLL or dynlib), while
19+
/// DTLMOD_VERSION_MAJOR and friends give the version numbers of the used header files
2020
void dtlmod_version_get(int* major, int* minor, int* patch);
2121

22-
#endif /* DTLMOD_VERSION_HPP */
22+
#endif // __DTLMOD_VERSION_HPP__

test/test_util.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
/* This program is free software; you can redistribute it and/or modify it
44
* under the terms of the license (GNU LGPL) which comes with this package. */
55

6-
#ifndef DTLMOD_TEST_UTIL_H_
7-
#define DTLMOD_TEST_UTIL_H_
6+
#ifndef __DTLMOD_TEST_UTIL_HPP__
7+
#define __DTLMOD_TEST_UTIL_HPP__
88
#include <functional>
99

1010
static void DO_TEST_WITH_FORK(const std::function<void()> &lambda) {
@@ -19,4 +19,4 @@ static void DO_TEST_WITH_FORK(const std::function<void()> &lambda) {
1919
}
2020
}
2121

22-
#endif
22+
#endif // __DTLMOD_TEST_UTIL_HPP__

0 commit comments

Comments
 (0)