]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
swanctl: Add missing header guards for load commands
authorTobias Brunner <tobias@strongswan.org>
Tue, 28 Jan 2020 09:55:46 +0000 (10:55 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 28 Jan 2020 14:29:40 +0000 (15:29 +0100)
src/swanctl/commands/load_authorities.h
src/swanctl/commands/load_conns.h
src/swanctl/commands/load_creds.h
src/swanctl/commands/load_pools.h

index d4be214fb3b4b129845030b102e19557c100c285..6a3223ba544e33fadf1fec64e5573b8af34b1f5f 100644 (file)
@@ -13,6 +13,9 @@
  * for more details.
  */
 
+#ifndef LOAD_AUTHORITIES_H_
+#define LOAD_AUTHORITIES_H_
+
 #include "command.h"
 
 /**
@@ -24,3 +27,5 @@
  */
 int load_authorities_cfg(vici_conn_t *conn, command_format_options_t format,
                                                 settings_t *cfg);
+
+#endif /** LOAD_AUTHORITIES_H_ */
index 1e7abdea49719b56e98b33dcf1825aff0a6524f9..31f3119cef26bc7c5e3f6bc326eadc61cc2ecdd0 100644 (file)
@@ -13,6 +13,9 @@
  * for more details.
  */
 
+#ifndef LOAD_CONNS_H_
+#define LOAD_CONNS_H_
+
 #include "command.h"
 
 /**
@@ -24,3 +27,5 @@
  */
 int load_conns_cfg(vici_conn_t *conn, command_format_options_t format,
                                   settings_t *cfg);
+
+#endif /** LOAD_CONNS_H_ */
index 7f689ad71cca0164ac473fd4f17f477403688843..e558c95e58384da8f675f8fd652ef25ea359a7a1 100644 (file)
@@ -13,6 +13,9 @@
  * for more details.
  */
 
+#ifndef LOAD_CREDS_H_
+#define LOAD_CREDS_H_
+
 #include "command.h"
 
 /**
@@ -26,3 +29,5 @@
  */
 int load_creds_cfg(vici_conn_t *conn, command_format_options_t format,
                                   settings_t *cfg, bool clear, bool noprompt);
+
+#endif /** LOAD_CREDS_H_ */
index f424db9f1b5a282f5f0e9d66ee972d8f03c08d27..1faf9f1941a7a3babc18d34c1b623e04ac182937 100644 (file)
@@ -13,6 +13,9 @@
  * for more details.
  */
 
+#ifndef LOAD_POOLS_H_
+#define LOAD_POOLS_H_
+
 #include "command.h"
 
 /**
@@ -24,3 +27,5 @@
  */
 int load_pools_cfg(vici_conn_t *conn, command_format_options_t format,
                                   settings_t *cfg);
+
+#endif /** LOAD_POOLS_H_ */