From: Tobias Brunner Date: Tue, 28 Jan 2020 09:55:46 +0000 (+0100) Subject: swanctl: Add missing header guards for load commands X-Git-Tag: 5.8.3dr1~59 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fstrongswan.git;a=commitdiff_plain;h=73ee7b666482712cebd13af6760fef6293d97a0e swanctl: Add missing header guards for load commands --- diff --git a/src/swanctl/commands/load_authorities.h b/src/swanctl/commands/load_authorities.h index d4be214fb3..6a3223ba54 100644 --- a/src/swanctl/commands/load_authorities.h +++ b/src/swanctl/commands/load_authorities.h @@ -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_ */ diff --git a/src/swanctl/commands/load_conns.h b/src/swanctl/commands/load_conns.h index 1e7abdea49..31f3119cef 100644 --- a/src/swanctl/commands/load_conns.h +++ b/src/swanctl/commands/load_conns.h @@ -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_ */ diff --git a/src/swanctl/commands/load_creds.h b/src/swanctl/commands/load_creds.h index 7f689ad71c..e558c95e58 100644 --- a/src/swanctl/commands/load_creds.h +++ b/src/swanctl/commands/load_creds.h @@ -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_ */ diff --git a/src/swanctl/commands/load_pools.h b/src/swanctl/commands/load_pools.h index f424db9f1b..1faf9f1941 100644 --- a/src/swanctl/commands/load_pools.h +++ b/src/swanctl/commands/load_pools.h @@ -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_ */