From 74e0489abcc7055c714f097a6bf799a527104de2 Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Tue, 24 Mar 2020 19:42:10 +0100 Subject: refdb_fs: remove unused header file The "refdb_fs.h" header contains a single struct `git_refcache` that is not used anywhere. As a result, we can just delete the header altogether as it doesn't have any purpose and may confuse readers. --- src/refdb_fs.c | 2 -- src/refdb_fs.h | 19 ------------------- 2 files changed, 21 deletions(-) delete mode 100644 src/refdb_fs.h diff --git a/src/refdb_fs.c b/src/refdb_fs.c index 1e53b3af5..653cc1b97 100644 --- a/src/refdb_fs.c +++ b/src/refdb_fs.c @@ -5,8 +5,6 @@ * a Linking Exception. For full terms see the included COPYING file. */ -#include "refdb_fs.h" - #include "refs.h" #include "hash.h" #include "repository.h" diff --git a/src/refdb_fs.h b/src/refdb_fs.h deleted file mode 100644 index 0c84814df..000000000 --- a/src/refdb_fs.h +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright (C) the libgit2 contributors. All rights reserved. - * - * This file is part of libgit2, distributed under the GNU GPL v2 with - * a Linking Exception. For full terms see the included COPYING file. - */ -#ifndef INCLUDE_refdb_fs_h__ -#define INCLUDE_refdb_fs_h__ - -#include "common.h" - -#include "strmap.h" - -typedef struct { - git_strmap *packfile; - time_t packfile_time; -} git_refcache; - -#endif -- cgit v1.2.1