diff --git a/src/lib/yajl/Callbacks.hxx b/src/lib/yajl/Callbacks.hxx index 73039ebc9..f2bc9ffe3 100644 --- a/src/lib/yajl/Callbacks.hxx +++ b/src/lib/yajl/Callbacks.hxx @@ -1,14 +1,13 @@ // SPDX-License-Identifier: BSD-2-Clause // author: Max Kellermann -#ifndef YAJL_CALLBACKS_HXX -#define YAJL_CALLBACKS_HXX +#pragma once #include "util/Cast.hxx" #include -#include +#include namespace Yajl { @@ -59,5 +58,3 @@ struct CallbacksWrapper { }; } // namespace Yajl - -#endif diff --git a/src/lib/yajl/Gen.hxx b/src/lib/yajl/Gen.hxx index f19b0e806..84efdbcce 100644 --- a/src/lib/yajl/Gen.hxx +++ b/src/lib/yajl/Gen.hxx @@ -1,10 +1,9 @@ // SPDX-License-Identifier: BSD-2-Clause // author: Max Kellermann -#ifndef YAJL_GEN_HXX -#define YAJL_GEN_HXX +#pragma once -#include +#include #include #include @@ -74,5 +73,3 @@ public: }; } // namespace Yajl - -#endif diff --git a/src/lib/yajl/Handle.hxx b/src/lib/yajl/Handle.hxx index 6ef0eb8fe..28e4fe942 100644 --- a/src/lib/yajl/Handle.hxx +++ b/src/lib/yajl/Handle.hxx @@ -1,10 +1,9 @@ // SPDX-License-Identifier: BSD-2-Clause // author: Max Kellermann -#ifndef YAJL_HANDLE_HXX -#define YAJL_HANDLE_HXX +#pragma once -#include +#include #include @@ -56,5 +55,3 @@ private: }; } // namespace Yajl - -#endif