From b81cac33055ee12811bbe3319d5b6740663cad63 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 4 Oct 2023 23:12:29 +0200 Subject: [PATCH] lib/nfs/Error: include cleanup --- src/lib/nfs/Error.cxx | 2 -- src/lib/nfs/Error.hxx | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/lib/nfs/Error.cxx b/src/lib/nfs/Error.cxx index 98f0b2bc6..7d9ed5daf 100644 --- a/src/lib/nfs/Error.cxx +++ b/src/lib/nfs/Error.cxx @@ -11,8 +11,6 @@ extern "C" { #include -#include - static auto FormatNfsClientError(struct nfs_context *nfs, const char *msg) noexcept { diff --git a/src/lib/nfs/Error.hxx b/src/lib/nfs/Error.hxx index 8d54ed689..4bf43f9b5 100644 --- a/src/lib/nfs/Error.hxx +++ b/src/lib/nfs/Error.hxx @@ -2,8 +2,7 @@ // Copyright CM4all GmbH // author: Max Kellermann -#ifndef NFS_ERROR_HXX -#define NFS_ERROR_HXX +#pragma once #include @@ -26,5 +25,3 @@ public: return code; } }; - -#endif