From f9079b4c9b1f39afdc14e8c8d3f508c608c64d67 Mon Sep 17 00:00:00 2001 From: Falk Werner Date: Wed, 17 Jun 2020 16:51:08 +0200 Subject: [PATCH] refactor: renamed include guard --- include/webfuse_provider/api.h | 4 ++-- include/webfuse_provider/client.h | 4 ++-- include/webfuse_provider/client_config.h | 4 ++-- include/webfuse_provider/client_protocol.h | 4 ++-- include/webfuse_provider/credentials.h | 4 ++-- include/webfuse_provider/dirbuffer.h | 4 ++-- include/webfuse_provider/webfuse_provider.h | 4 ++-- lib/webfuse_provider/impl/client.h | 4 ++-- lib/webfuse_provider/impl/client_config.h | 4 ++-- lib/webfuse_provider/impl/client_protocol.h | 4 ++-- lib/webfuse_provider/impl/credentials.h | 4 ++-- lib/webfuse_provider/impl/dirbuffer.h | 4 ++-- lib/webfuse_provider/impl/operation/close.h | 4 ++-- lib/webfuse_provider/impl/operation/getattr.h | 4 ++-- lib/webfuse_provider/impl/operation/lookup.h | 4 ++-- lib/webfuse_provider/impl/operation/open.h | 4 ++-- lib/webfuse_provider/impl/operation/read.h | 4 ++-- lib/webfuse_provider/impl/operation/readdir.h | 4 ++-- lib/webfuse_provider/impl/provider.h | 4 ++-- lib/webfuse_provider/impl/request.h | 4 ++-- 20 files changed, 40 insertions(+), 40 deletions(-) diff --git a/include/webfuse_provider/api.h b/include/webfuse_provider/api.h index 963e038..9ff0ea7 100644 --- a/include/webfuse_provider/api.h +++ b/include/webfuse_provider/api.h @@ -3,8 +3,8 @@ /// \brief API define for webfuse provider. //////////////////////////////////////////////////////////////////////////////// -#ifndef WFP_PROVIDER_API_H -#define WFP_PROVIDER_API_H +#ifndef WFP_API_H +#define WFP_API_H //------------------------------------------------------------------------------ /// \def WFP_API diff --git a/include/webfuse_provider/client.h b/include/webfuse_provider/client.h index 438fd1e..500293f 100644 --- a/include/webfuse_provider/client.h +++ b/include/webfuse_provider/client.h @@ -3,8 +3,8 @@ /// \brief Webfuse provider client. //////////////////////////////////////////////////////////////////////////////// -#ifndef WFP_PROVIDER_CLIENT_H -#define WFP_PROVIDER_CLIENT_H +#ifndef WFP_CLIENT_H +#define WFP_CLIENT_H #include "webfuse_provider/api.h" diff --git a/include/webfuse_provider/client_config.h b/include/webfuse_provider/client_config.h index ca2468b..2345e62 100644 --- a/include/webfuse_provider/client_config.h +++ b/include/webfuse_provider/client_config.h @@ -3,8 +3,8 @@ /// \brief Client configuration of webfuse provider. //////////////////////////////////////////////////////////////////////////////// -#ifndef WFP_PROVIDER_CLIENT_CONFIG_H -#define WFP_PROVIDER_CLIENT_CONFIG_H +#ifndef WFP_CLIENT_CONFIG_H +#define WFP_CLIENT_CONFIG_H #include diff --git a/include/webfuse_provider/client_protocol.h b/include/webfuse_provider/client_protocol.h index 05090b5..66fa5c2 100644 --- a/include/webfuse_provider/client_protocol.h +++ b/include/webfuse_provider/client_protocol.h @@ -8,8 +8,8 @@ /// libwebsockets applications. //////////////////////////////////////////////////////////////////////////////// -#ifndef WFP_PROVIDER_CLIENT_PROTOCOL_H -#define WFP_PROVIDER_CLIENT_PROTOCOL_H +#ifndef WFP_CLIENT_PROTOCOL_H +#define WFP_CLIENT_PROTOCOL_H #include "webfuse_provider/api.h" diff --git a/include/webfuse_provider/credentials.h b/include/webfuse_provider/credentials.h index 24934bf..666925b 100644 --- a/include/webfuse_provider/credentials.h +++ b/include/webfuse_provider/credentials.h @@ -1,5 +1,5 @@ -#ifndef WFP_PROVIDER_CREDENTIALS_H -#define WFP_PROVIDER_CREDENTIALS_H +#ifndef WFP_CREDENTIALS_H +#define WFP_CREDENTIALS_H #include diff --git a/include/webfuse_provider/dirbuffer.h b/include/webfuse_provider/dirbuffer.h index 7972b90..8b43eeb 100644 --- a/include/webfuse_provider/dirbuffer.h +++ b/include/webfuse_provider/dirbuffer.h @@ -3,8 +3,8 @@ /// \brief Buffer used for directory listing. //////////////////////////////////////////////////////////////////////////////// -#ifndef WFP_PROVIDER_DIRBUFFER_H -#define WFP_PROVIDER_DIRBUFFER_H +#ifndef WFP_DIRBUFFER_H +#define WFP_DIRBUFFER_H #include #include diff --git a/include/webfuse_provider/webfuse_provider.h b/include/webfuse_provider/webfuse_provider.h index e042601..b979cb7 100644 --- a/include/webfuse_provider/webfuse_provider.h +++ b/include/webfuse_provider/webfuse_provider.h @@ -3,8 +3,8 @@ /// \brief Convenience header to include all functionality of libfuse_provider. //////////////////////////////////////////////////////////////////////////////// -#ifndef WFP_PROVIDER_H -#define WFP_PROVIDER_H +#ifndef WFP_H +#define WFP_H #include #include diff --git a/lib/webfuse_provider/impl/client.h b/lib/webfuse_provider/impl/client.h index dee2f9f..f1bd504 100644 --- a/lib/webfuse_provider/impl/client.h +++ b/lib/webfuse_provider/impl/client.h @@ -1,5 +1,5 @@ -#ifndef WFP_PROVIDER_IMPL_CLIENT_H -#define WFP_PROVIDER_IMPL_CLIENT_H +#ifndef WFP_IMPL_CLIENT_H +#define WFP_IMPL_CLIENT_H #ifndef __cplusplus #include diff --git a/lib/webfuse_provider/impl/client_config.h b/lib/webfuse_provider/impl/client_config.h index 51ddaef..49f565f 100644 --- a/lib/webfuse_provider/impl/client_config.h +++ b/lib/webfuse_provider/impl/client_config.h @@ -1,5 +1,5 @@ -#ifndef WFP_PROVIDER_IMPL_CLIENT_CONFIG_H -#define WFP_PROVIDER_IMPL_CLIENT_CONFIG_H +#ifndef WFP_IMPL_CLIENT_CONFIG_H +#define WFP_IMPL_CLIENT_CONFIG_H #include "webfuse_provider/client_config.h" #include "webfuse_provider/impl/provider.h" diff --git a/lib/webfuse_provider/impl/client_protocol.h b/lib/webfuse_provider/impl/client_protocol.h index 320fad1..da09e8b 100644 --- a/lib/webfuse_provider/impl/client_protocol.h +++ b/lib/webfuse_provider/impl/client_protocol.h @@ -1,5 +1,5 @@ -#ifndef WFP_PROVIDER_IMPL_CLIENT_PROTOCOL_H -#define WFP_PROVIDER_IMPL_CLIENT_PROTOCOL_H +#ifndef WFP_IMPL_CLIENT_PROTOCOL_H +#define WFP_IMPL_CLIENT_PROTOCOL_H #include "webfuse_provider/impl/provider.h" #include "webfuse_provider/impl/request.h" diff --git a/lib/webfuse_provider/impl/credentials.h b/lib/webfuse_provider/impl/credentials.h index 26586d9..521bbff 100644 --- a/lib/webfuse_provider/impl/credentials.h +++ b/lib/webfuse_provider/impl/credentials.h @@ -1,5 +1,5 @@ -#ifndef WFP_PROVIDER_IMPL_CREDENTIALS_H -#define WFP_PROVIDER_IMPL_CREDENTIALS_H +#ifndef WFP_IMPL_CREDENTIALS_H +#define WFP_IMPL_CREDENTIALS_H #include "webfuse_provider/credentials.h" #include diff --git a/lib/webfuse_provider/impl/dirbuffer.h b/lib/webfuse_provider/impl/dirbuffer.h index 79bfcf2..eaa0278 100644 --- a/lib/webfuse_provider/impl/dirbuffer.h +++ b/lib/webfuse_provider/impl/dirbuffer.h @@ -1,5 +1,5 @@ -#ifndef WFP_PROVIDER_IMPL_DIRBUFFER_H -#define WFP_PROVIDER_IMPL_DIRBUFFER_H +#ifndef WFP_IMPL_DIRBUFFER_H +#define WFP_IMPL_DIRBUFFER_H #include #include diff --git a/lib/webfuse_provider/impl/operation/close.h b/lib/webfuse_provider/impl/operation/close.h index 40488cf..7c6fd7b 100644 --- a/lib/webfuse_provider/impl/operation/close.h +++ b/lib/webfuse_provider/impl/operation/close.h @@ -1,5 +1,5 @@ -#ifndef WFP_PROVIDER_IMPL_OPERATION_CLOSE_H -#define WFP_PROVIDER_IMPL_OPERATION_CLOSE_H +#ifndef WFP_IMPL_OPERATION_CLOSE_H +#define WFP_IMPL_OPERATION_CLOSE_H #include "webfuse_provider/impl/provider.h" diff --git a/lib/webfuse_provider/impl/operation/getattr.h b/lib/webfuse_provider/impl/operation/getattr.h index b5a2b58..a14f8de 100644 --- a/lib/webfuse_provider/impl/operation/getattr.h +++ b/lib/webfuse_provider/impl/operation/getattr.h @@ -1,5 +1,5 @@ -#ifndef WFP_PROVIDER_IMPL_OPERATION_GETATTR_H -#define WFP_PROVIDER_IMPL_OPERATION_GETATTR_H +#ifndef WFP_IMPL_OPERATION_GETATTR_H +#define WFP_IMPL_OPERATION_GETATTR_H #include "webfuse_provider/impl/provider.h" diff --git a/lib/webfuse_provider/impl/operation/lookup.h b/lib/webfuse_provider/impl/operation/lookup.h index 9968d4d..c4caf6c 100644 --- a/lib/webfuse_provider/impl/operation/lookup.h +++ b/lib/webfuse_provider/impl/operation/lookup.h @@ -1,5 +1,5 @@ -#ifndef WFP_PROVIDER_IMPL_OPERATION_LOOKUP_H -#define WFP_PROVIDER_IMPL_OPERATION_LOOKUP_H +#ifndef WFP_IMPL_OPERATION_LOOKUP_H +#define WFP_IMPL_OPERATION_LOOKUP_H #include "webfuse_provider/impl/provider.h" diff --git a/lib/webfuse_provider/impl/operation/open.h b/lib/webfuse_provider/impl/operation/open.h index d8dd9a2..052d185 100644 --- a/lib/webfuse_provider/impl/operation/open.h +++ b/lib/webfuse_provider/impl/operation/open.h @@ -1,5 +1,5 @@ -#ifndef WFP_PROVIDER_IMPL_OPERATION_OPEN_H -#define WFP_PROVIDER_IMPL_OPERATION_OPEN_H +#ifndef WFP_IMPL_OPERATION_OPEN_H +#define WFP_IMPL_OPERATION_OPEN_H #include "webfuse_provider/impl/provider.h" diff --git a/lib/webfuse_provider/impl/operation/read.h b/lib/webfuse_provider/impl/operation/read.h index 4c7599e..be6f734 100644 --- a/lib/webfuse_provider/impl/operation/read.h +++ b/lib/webfuse_provider/impl/operation/read.h @@ -1,5 +1,5 @@ -#ifndef WFP_PROVIDER_IMPL_OPERATION_READ_H -#define WFP_PROVIDER_IMPL_OPERATION_READ_H +#ifndef WFP_IMPL_OPERATION_READ_H +#define WFP_IMPL_OPERATION_READ_H #include "webfuse_provider/impl/provider.h" diff --git a/lib/webfuse_provider/impl/operation/readdir.h b/lib/webfuse_provider/impl/operation/readdir.h index 9d7298e..8884e9e 100644 --- a/lib/webfuse_provider/impl/operation/readdir.h +++ b/lib/webfuse_provider/impl/operation/readdir.h @@ -1,5 +1,5 @@ -#ifndef WFP_PROVIDER_IMPL_OPERATION_READDIR_H -#define WFP_PROVIDER_IMPL_OPERATION_READDIR_H +#ifndef WFP_IMPL_OPERATION_READDIR_H +#define WFP_IMPL_OPERATION_READDIR_H #include "webfuse_provider/impl/provider.h" diff --git a/lib/webfuse_provider/impl/provider.h b/lib/webfuse_provider/impl/provider.h index d0eb8a0..f3c00c7 100644 --- a/lib/webfuse_provider/impl/provider.h +++ b/lib/webfuse_provider/impl/provider.h @@ -1,5 +1,5 @@ -#ifndef WFP_PROVIDER_IMPL_PROVIDER_H -#define WFP_PROVIDER_IMPL_PROVIDER_H +#ifndef WFP_IMPL_PROVIDER_H +#define WFP_IMPL_PROVIDER_H #ifndef __cplusplus #include diff --git a/lib/webfuse_provider/impl/request.h b/lib/webfuse_provider/impl/request.h index acca0ed..5945c1e 100644 --- a/lib/webfuse_provider/impl/request.h +++ b/lib/webfuse_provider/impl/request.h @@ -1,5 +1,5 @@ -#ifndef WFP_PROVIDER_IMPL_REQUEST_H -#define WFP_PROVIDER_IMPL_REQUEST_H +#ifndef WFP_IMPL_REQUEST_H +#define WFP_IMPL_REQUEST_H #include #include "webfuse_provider/impl/provider.h"