From 1970c9982e99daa26f7fc4c6f16b441a0aa806de Mon Sep 17 00:00:00 2001 From: Vincent Douillet Date: Wed, 9 Aug 2023 11:00:49 +0200 Subject: simplify header import guards --- browse.h | 6 +++--- cgi.h | 6 +++--- config.h | 6 +++--- http.h | 6 +++--- url.h | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/browse.h b/browse.h index a4f0583..399bdd9 100644 --- a/browse.h +++ b/browse.h @@ -28,8 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef VAULT_BROWSE_H -#define VAULT_BROWSE_H +#ifndef BROWSE_H +#define BROWSE_H #include @@ -41,4 +41,4 @@ */ void browse(struct kreq *); -#endif /* VAULT_BROWSE_H */ +#endif /* BROWSE_H */ diff --git a/cgi.h b/cgi.h index aff6bdf..b834246 100644 --- a/cgi.h +++ b/cgi.h @@ -28,8 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef VAULT_CGI_H -#define VAULT_CGI_H +#ifndef CGI_H +#define CGI_H #include @@ -38,4 +38,4 @@ if(kcgi_call != KCGI_OK) { \ kutil_warn(r, NULL, "Unexpected CGI error"); \ } -#endif /* VAULT_CGI_H */ +#endif /* CGI_H */ diff --git a/config.h b/config.h index 74c8a2e..c79aedc 100644 --- a/config.h +++ b/config.h @@ -28,8 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef VAULT_CONFIG_H -#define VAULT_CONFIG_H +#ifndef CONFIG_H +#define CONFIG_H /* * The directory that will be browseable through vault. The vault process @@ -48,4 +48,4 @@ #define LOG_FILE "/var/log/vault.log" #endif -#endif /* VAULT_CONFIG_H */ +#endif /* CONFIG_H */ diff --git a/http.h b/http.h index daee438..b354b98 100644 --- a/http.h +++ b/http.h @@ -28,8 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef VAULT_HTTP_H -#define VAULT_HTTP_H +#ifndef HTTP_H +#define HTTP_H #include @@ -50,4 +50,4 @@ void http_open(struct kreq *, enum khttp); */ void http_exit(struct kreq *, enum khttp, char *,...); -#endif /* VAULT_HTTP_H */ +#endif /* HTTP_H */ diff --git a/url.h b/url.h index 49b0aa1..7bfa247 100644 --- a/url.h +++ b/url.h @@ -28,8 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef VAULT_URL_H -#define VAULT_URL_H +#ifndef URL_H +#define URL_H #include @@ -47,4 +47,4 @@ size_t url_build(char *, size_t, int,...); -#endif /* VAULT_URL_H */ +#endif /* URL_H */ -- cgit v1.2.3