Browse Source

[2957] Moved header #ifdef to beginning of header file where
they're supposed to be.

Thomas Markwalder 12 years ago
parent
commit
ae6f706d85
3 changed files with 10 additions and 10 deletions
  1. 3 3
      src/bin/d2/d2_cfg_mgr.h
  2. 4 4
      src/bin/d2/d2_config.h
  3. 3 3
      src/bin/d2/d_cfg_mgr.h

+ 3 - 3
src/bin/d2/d2_cfg_mgr.h

@@ -12,6 +12,9 @@
 // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 // PERFORMANCE OF THIS SOFTWARE.
 
+#ifndef D2_CFG_MGR_H
+#define D2_CFG_MGR_H
+
 #include <asiolink/io_address.h>
 #include <cc/data.h>
 #include <exceptions/exceptions.h>
@@ -21,9 +24,6 @@
 #include <stdint.h>
 #include <string>
 
-#ifndef D2_CFG_MGR_H
-#define D2_CFG_MGR_H
-
 namespace isc {
 namespace d2 {
 

+ 4 - 4
src/bin/d2/d2_config.h

@@ -12,6 +12,9 @@
 // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 // PERFORMANCE OF THIS SOFTWARE.
 
+#ifndef D2_CONFIG_H
+#define D2_CONFIG_H
+
 #include <asiolink/io_address.h>
 #include <cc/data.h>
 #include <d2/d_cfg_mgr.h>
@@ -23,9 +26,6 @@
 #include <stdint.h>
 #include <string>
 
-#ifndef D2_CONFIG_H
-#define D2_CONFIG_H
-
 namespace isc {
 namespace d2 {
 
@@ -69,7 +69,7 @@ namespace d2 {
 /// A DnsServerInfoListParser creates and invokes a DnsServerInfoParser for
 /// each server entry in its list.
 ///
-/// A DdnsServerInfoParser handles the scalars which belong to th server.
+/// A DdnsServerInfoParser handles the scalars which belong to the server.
 
 /// @brief Exception thrown when the error during configuration handling
 /// occurs.

+ 3 - 3
src/bin/d2/d_cfg_mgr.h

@@ -12,6 +12,9 @@
 // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 // PERFORMANCE OF THIS SOFTWARE.
 
+#ifndef D_CFG_MGR_H
+#define D_CFG_MGR_H
+
 #include <cc/data.h>
 #include <exceptions/exceptions.h>
 #include <dhcpsrv/dhcp_parsers.h>
@@ -19,9 +22,6 @@
 #include <stdint.h>
 #include <string>
 
-#ifndef D_CFG_MGR_H
-#define D_CFG_MGR_H
-
 namespace isc {
 namespace d2 {