summaryrefslogtreecommitdiff
path: root/src/stdalloc.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2019-02-21 12:13:59 +0100
committerPatrick Steinhardt <ps@pks.im>2019-02-21 12:28:02 +0100
commitb63396b75fe26afa3b27259c0d13dd7bc13b53ba (patch)
tree35feccd200b172e876d660b309bb216f4515df88 /src/stdalloc.h
parent9eb098d8614bdd0365140f6614441465123ce903 (diff)
downloadlibgit2-b63396b75fe26afa3b27259c0d13dd7bc13b53ba.tar.gz
allocators: move standard allocator into subdirectory
Right now, our two allocator implementations are scattered around the tree in "stdalloc.h" and "win32/w32_crtdbg_stacktrace.h". Start grouping them together in a single directory "allocators/", similar to how e.g. our streams are organized.
Diffstat (limited to 'src/stdalloc.h')
-rw-r--r--src/stdalloc.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/stdalloc.h b/src/stdalloc.h
deleted file mode 100644
index a8927a507..000000000
--- a/src/stdalloc.h
+++ /dev/null
@@ -1,17 +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_stdalloc_h__
-#define INCLUDE_stdalloc_h__
-
-#include "alloc.h"
-
-#include "common.h"
-
-int git_stdalloc_init_allocator(git_allocator *allocator);
-
-#endif