Skip to content

Commit

Permalink
lib/nfs/Error: include cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Oct 4, 2023
1 parent bf9dd24 commit b81cac3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions src/lib/nfs/Error.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ extern "C" {

#include <cassert>

#include <string.h>

static auto
FormatNfsClientError(struct nfs_context *nfs, const char *msg) noexcept
{
Expand Down
5 changes: 1 addition & 4 deletions src/lib/nfs/Error.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// Copyright CM4all GmbH
// author: Max Kellermann <[email protected]>

#ifndef NFS_ERROR_HXX
#define NFS_ERROR_HXX
#pragma once

#include <stdexcept>

Expand All @@ -26,5 +25,3 @@ public:
return code;
}
};

#endif

0 comments on commit b81cac3

Please sign in to comment.