diff options
author | Vincent Douillet <vincent@vdouillet.fr> | 2023-08-09 11:00:49 +0200 |
---|---|---|
committer | Vincent Douillet <vincent@vdouillet.fr> | 2023-08-09 11:00:49 +0200 |
commit | 1970c9982e99daa26f7fc4c6f16b441a0aa806de (patch) | |
tree | 53fe09beea071d3f546e8f006619cbf29f8b19c2 | |
parent | 8b04ab2fc5d34693052fd16de20237498de67f58 (diff) |
simplify header import guards
-rw-r--r-- | browse.h | 6 | ||||
-rw-r--r-- | cgi.h | 6 | ||||
-rw-r--r-- | config.h | 6 | ||||
-rw-r--r-- | http.h | 6 | ||||
-rw-r--r-- | url.h | 6 |
5 files changed, 15 insertions, 15 deletions
@@ -28,8 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef VAULT_BROWSE_H -#define VAULT_BROWSE_H +#ifndef BROWSE_H +#define BROWSE_H #include <kcgi.h> @@ -41,4 +41,4 @@ */ void browse(struct kreq *); -#endif /* VAULT_BROWSE_H */ +#endif /* BROWSE_H */ @@ -28,8 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef VAULT_CGI_H -#define VAULT_CGI_H +#ifndef CGI_H +#define CGI_H #include <kcgi.h> @@ -38,4 +38,4 @@ if(kcgi_call != KCGI_OK) { \ kutil_warn(r, NULL, "Unexpected CGI error"); \ } -#endif /* VAULT_CGI_H */ +#endif /* CGI_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 */ @@ -28,8 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef VAULT_HTTP_H -#define VAULT_HTTP_H +#ifndef HTTP_H +#define HTTP_H #include <kcgi.h> @@ -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 */ @@ -28,8 +28,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef VAULT_URL_H -#define VAULT_URL_H +#ifndef URL_H +#define URL_H #include <stdio.h> @@ -47,4 +47,4 @@ size_t url_build(char *, size_t, int,...); -#endif /* VAULT_URL_H */ +#endif /* URL_H */ |