From 73ee7b666482712cebd13af6760fef6293d97a0e Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 28 Jan 2020 10:55:46 +0100 Subject: [PATCH] swanctl: Add missing header guards for load commands --- src/swanctl/commands/load_authorities.h | 5 +++++ src/swanctl/commands/load_conns.h | 5 +++++ src/swanctl/commands/load_creds.h | 5 +++++ src/swanctl/commands/load_pools.h | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/src/swanctl/commands/load_authorities.h b/src/swanctl/commands/load_authorities.h index d4be214fb..6a3223ba5 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 1e7abdea4..31f3119ce 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 7f689ad71..e558c95e5 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 f424db9f1..1faf9f194 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_ */