summaryrefslogtreecommitdiff
path: root/other
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-09-09 19:54:05 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-09-14 19:09:10 +0000
commit49bb43f6626b927b978eac765609844294523cad (patch)
tree8a56916651f51c63489cd1427e6fba2b6a19cbdb /other
parent7821cd84121ac8a4de5c70ab46d36bcbb881bb43 (diff)
Standardise header guards.
Using the full path including the repo name.
Diffstat (limited to 'other')
-rw-r--r--other/bootstrap_daemon/src/command_line_arguments.h6
-rw-r--r--other/bootstrap_daemon/src/config.h6
-rw-r--r--other/bootstrap_daemon/src/config_defaults.h6
-rw-r--r--other/bootstrap_daemon/src/global.h6
-rw-r--r--other/bootstrap_daemon/src/log.h6
-rw-r--r--other/bootstrap_daemon/src/log_backend_stdout.h6
-rw-r--r--other/bootstrap_daemon/src/log_backend_syslog.h6
-rw-r--r--other/bootstrap_node_packets.h6
8 files changed, 24 insertions, 24 deletions
diff --git a/other/bootstrap_daemon/src/command_line_arguments.h b/other/bootstrap_daemon/src/command_line_arguments.h
index d0f07583..e6e69eed 100644
--- a/other/bootstrap_daemon/src/command_line_arguments.h
+++ b/other/bootstrap_daemon/src/command_line_arguments.h
@@ -22,8 +22,8 @@
22 * You should have received a copy of the GNU General Public License 22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>. 23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 24 */
25#ifndef COMMAND_LINE_ARGUMENTS_H 25#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_COMMAND_LINE_ARGUMENTS_H
26#define COMMAND_LINE_ARGUMENTS_H 26#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_COMMAND_LINE_ARGUMENTS_H
27 27
28#include "log.h" 28#include "log.h"
29 29
@@ -40,4 +40,4 @@
40void handle_command_line_arguments(int argc, char *argv[], char **cfg_file_path, LOG_BACKEND *log_backend, 40void handle_command_line_arguments(int argc, char *argv[], char **cfg_file_path, LOG_BACKEND *log_backend,
41 bool *run_in_foreground); 41 bool *run_in_foreground);
42 42
43#endif // COMMAND_LINE_ARGUMENTS_H 43#endif // C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_COMMAND_LINE_ARGUMENTS_H
diff --git a/other/bootstrap_daemon/src/config.h b/other/bootstrap_daemon/src/config.h
index c6fca58e..022419bf 100644
--- a/other/bootstrap_daemon/src/config.h
+++ b/other/bootstrap_daemon/src/config.h
@@ -22,8 +22,8 @@
22 * You should have received a copy of the GNU General Public License 22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>. 23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 24 */
25#ifndef CONFIG_H 25#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_H
26#define CONFIG_H 26#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_H
27 27
28#include "../../../toxcore/DHT.h" 28#include "../../../toxcore/DHT.h"
29 29
@@ -49,4 +49,4 @@ int get_general_config(const char *cfg_file_path, char **pid_file_path, char **k
49 */ 49 */
50int bootstrap_from_config(const char *cfg_file_path, DHT *dht, int enable_ipv6); 50int bootstrap_from_config(const char *cfg_file_path, DHT *dht, int enable_ipv6);
51 51
52#endif // CONFIG_H 52#endif // C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_H
diff --git a/other/bootstrap_daemon/src/config_defaults.h b/other/bootstrap_daemon/src/config_defaults.h
index 603968c2..2b9bbf8e 100644
--- a/other/bootstrap_daemon/src/config_defaults.h
+++ b/other/bootstrap_daemon/src/config_defaults.h
@@ -22,8 +22,8 @@
22 * You should have received a copy of the GNU General Public License 22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>. 23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 24 */
25#ifndef CONFIG_DEFAULTS_H 25#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_DEFAULTS_H
26#define CONFIG_DEFAULTS_H 26#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_DEFAULTS_H
27 27
28#include "global.h" 28#include "global.h"
29 29
@@ -39,4 +39,4 @@
39#define DEFAULT_ENABLE_MOTD 1 // 1 - true, 0 - false 39#define DEFAULT_ENABLE_MOTD 1 // 1 - true, 0 - false
40#define DEFAULT_MOTD DAEMON_NAME 40#define DEFAULT_MOTD DAEMON_NAME
41 41
42#endif // CONFIG_DEFAULTS_H 42#endif // C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_DEFAULTS_H
diff --git a/other/bootstrap_daemon/src/global.h b/other/bootstrap_daemon/src/global.h
index 437dbadd..c939f19d 100644
--- a/other/bootstrap_daemon/src/global.h
+++ b/other/bootstrap_daemon/src/global.h
@@ -22,8 +22,8 @@
22 * You should have received a copy of the GNU General Public License 22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>. 23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 24 */
25#ifndef GLOBAL_H 25#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_GLOBAL_H
26#define GLOBAL_H 26#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_GLOBAL_H
27 27
28#include "../../../toxcore/tox.h" 28#include "../../../toxcore/tox.h"
29 29
@@ -56,4 +56,4 @@
56#define MIN_ALLOWED_PORT 1 56#define MIN_ALLOWED_PORT 1
57#define MAX_ALLOWED_PORT 65535 57#define MAX_ALLOWED_PORT 65535
58 58
59#endif // GLOBAL_H 59#endif // C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_GLOBAL_H
diff --git a/other/bootstrap_daemon/src/log.h b/other/bootstrap_daemon/src/log.h
index 77e623f9..9327da6c 100644
--- a/other/bootstrap_daemon/src/log.h
+++ b/other/bootstrap_daemon/src/log.h
@@ -22,8 +22,8 @@
22 * You should have received a copy of the GNU General Public License 22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>. 23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 24 */
25#ifndef LOG_H 25#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_H
26#define LOG_H 26#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_H
27 27
28#include <stdbool.h> 28#include <stdbool.h>
29 29
@@ -63,4 +63,4 @@ bool log_close(void);
63bool log_write(LOG_LEVEL level, const char *format, ...) GNU_PRINTF(2, 3); 63bool log_write(LOG_LEVEL level, const char *format, ...) GNU_PRINTF(2, 3);
64 64
65 65
66#endif // LOG_H 66#endif // C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_H
diff --git a/other/bootstrap_daemon/src/log_backend_stdout.h b/other/bootstrap_daemon/src/log_backend_stdout.h
index d24b5bf5..3ebcd069 100644
--- a/other/bootstrap_daemon/src/log_backend_stdout.h
+++ b/other/bootstrap_daemon/src/log_backend_stdout.h
@@ -22,8 +22,8 @@
22 * You should have received a copy of the GNU General Public License 22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>. 23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 24 */
25#ifndef LOG_STDOUT_H 25#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_BACKEND_STDOUT_H
26#define LOG_STDOUT_H 26#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_BACKEND_STDOUT_H
27 27
28#include "log.h" 28#include "log.h"
29 29
@@ -31,4 +31,4 @@
31 31
32void log_backend_stdout_write(LOG_LEVEL level, const char *format, va_list args) GNU_PRINTF(2, 0); 32void log_backend_stdout_write(LOG_LEVEL level, const char *format, va_list args) GNU_PRINTF(2, 0);
33 33
34#endif // LOG_BACKEND_STDOUT_H 34#endif // C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_BACKEND_STDOUT_H
diff --git a/other/bootstrap_daemon/src/log_backend_syslog.h b/other/bootstrap_daemon/src/log_backend_syslog.h
index ed82fec5..6afae224 100644
--- a/other/bootstrap_daemon/src/log_backend_syslog.h
+++ b/other/bootstrap_daemon/src/log_backend_syslog.h
@@ -22,8 +22,8 @@
22 * You should have received a copy of the GNU General Public License 22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>. 23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 24 */
25#ifndef LOG_BACKEND_SYSLOG_H 25#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_BACKEND_SYSLOG_H
26#define LOG_BACKEND_SYSLOG_H 26#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_BACKEND_SYSLOG_H
27 27
28#include "log.h" 28#include "log.h"
29 29
@@ -33,4 +33,4 @@ void log_backend_syslog_open(void);
33void log_backend_syslog_close(void); 33void log_backend_syslog_close(void);
34void log_backend_syslog_write(LOG_LEVEL level, const char *format, va_list args) GNU_PRINTF(2, 0); 34void log_backend_syslog_write(LOG_LEVEL level, const char *format, va_list args) GNU_PRINTF(2, 0);
35 35
36#endif // LOG_BACKEND_SYSLOG_H 36#endif // C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_BACKEND_SYSLOG_H
diff --git a/other/bootstrap_node_packets.h b/other/bootstrap_node_packets.h
index 0ac314f4..1b8b87f2 100644
--- a/other/bootstrap_node_packets.h
+++ b/other/bootstrap_node_packets.h
@@ -23,8 +23,8 @@
23 * You should have received a copy of the GNU General Public License 23 * You should have received a copy of the GNU General Public License
24 * along with Tox. If not, see <http://www.gnu.org/licenses/>. 24 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
25 */ 25 */
26#ifndef BOOTSTRAP_NODE_PACKETS_H 26#ifndef C_TOXCORE_OTHER_BOOTSTRAP_NODE_PACKETS_H
27#define BOOTSTRAP_NODE_PACKETS_H 27#define C_TOXCORE_OTHER_BOOTSTRAP_NODE_PACKETS_H
28 28
29#include "../toxcore/network.h" 29#include "../toxcore/network.h"
30 30
@@ -32,4 +32,4 @@
32 32
33int bootstrap_set_callbacks(Networking_Core *net, uint32_t version, uint8_t *motd, uint16_t motd_length); 33int bootstrap_set_callbacks(Networking_Core *net, uint32_t version, uint8_t *motd, uint16_t motd_length);
34 34
35#endif // BOOTSTRAP_NODE_PACKETS_H 35#endif // C_TOXCORE_OTHER_BOOTSTRAP_NODE_PACKETS_H