From ac4415ee1e450140ae3fe0d69c8da6e1ea1aba17 Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Fri, 1 Apr 2016 15:04:19 +1000 Subject: [PATCH] * fix include guards --- src/backend.h | 6 +++--- src/config.h | 6 +++--- src/filelist.h | 6 +++--- src/filter.h | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/backend.h b/src/backend.h index e4500b6..24e27b1 100644 --- a/src/backend.h +++ b/src/backend.h @@ -4,8 +4,8 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#ifndef BACKEND_H_ -#define BACKEND_H_ +#ifndef F2B_BACKEND_H_ +#define F2B_BACKEND_H_ #include "config.h" #include "log.h" @@ -39,4 +39,4 @@ bool f2b_backend_ban (f2b_backend_t *b, const char *ip); bool f2b_backend_check (f2b_backend_t *b, const char *ip); bool f2b_backend_unban (f2b_backend_t *b, const char *ip); -#endif /* BACKEND_H_ */ +#endif /* F2B_BACKEND_H_ */ diff --git a/src/config.h b/src/config.h index 96626ba..249f3c5 100644 --- a/src/config.h +++ b/src/config.h @@ -4,8 +4,8 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#ifndef CONFIG_H_ -#define CONFIG_H_ +#ifndef F2B_CONFIG_H_ +#define F2B_CONFIG_H_ #define CONFIG_LINE_MAX 256 @@ -53,4 +53,4 @@ f2b_config_section_t * f2b_config_section_append(f2b_config_t *c, f2b_config_sec bool f2b_config_load(f2b_config_t *c, const char *path, bool recursion); void f2b_config_free(f2b_config_t *c); -#endif /* CONFIG_H_ */ +#endif /* F2B_CONFIG_H_ */ diff --git a/src/filelist.h b/src/filelist.h index 93b39fe..3eefe3b 100644 --- a/src/filelist.h +++ b/src/filelist.h @@ -4,8 +4,8 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#ifndef FILELIST_H_ -#define FILELIST_H_ +#ifndef F2B_FILELIST_H_ +#define F2B_FILELIST_H_ f2b_logfile_t * f2b_filelist_from_glob(const char *pattern); @@ -16,4 +16,4 @@ f2b_filelist_append(f2b_logfile_t *list, f2b_logfile_t *file); void f2b_filelist_destroy(f2b_logfile_t *list); -#endif /* FILELIST_H_ */ +#endif /* F2B_FILELIST_H_ */ diff --git a/src/filter.h b/src/filter.h index 6e74b29..fa4ddb4 100644 --- a/src/filter.h +++ b/src/filter.h @@ -4,8 +4,8 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#ifndef FILTER_H_ -#define FILTER_H_ +#ifndef F2B_FILTER_H_ +#define F2B_FILTER_H_ #include "config.h" #include "log.h" @@ -28,4 +28,4 @@ void f2b_filter_destroy(f2b_filter_t *b); bool f2b_filter_match(f2b_filter_t *b, const char *line, char *buf, size_t buf_size); const char * f2b_filter_error(f2b_filter_t *b); -#endif /* FILTER_H_ */ +#endif /* F2B_FILTER_H_ */