summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2014-10-10 15:17:05 -0700
committerRussell Belfer <rb@github.com>2014-10-10 15:17:05 -0700
commitbabbff347c19473a8ce571c6ef3fbd0cc7b8d9de (patch)
tree3daf5fb6feafbddeefbac66fa8230f58bcd6842c
parentfd0f6d38558a03e8f1685098bac0e86a2220c57d (diff)
downloadlibgit2-babbff347c19473a8ce571c6ef3fbd0cc7b8d9de.tar.gz
Move un-namespaced constant to internal header
FLAG_BITS only seems to be used internally
-rw-r--r--include/git2/common.h2
-rw-r--r--src/commit_list.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/common.h b/include/git2/common.h
index ddeaf77a2..1363316b6 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -83,8 +83,6 @@ GIT_BEGIN_DECL
*/
#define GIT_OID_HEX_ZERO "0000000000000000000000000000000000000000"
-#define FLAG_BITS 27
-
/**
* Return the version of the libgit2 library
* being currently used.
diff --git a/src/commit_list.h b/src/commit_list.h
index 7cd3945ae..6b3f473d3 100644
--- a/src/commit_list.h
+++ b/src/commit_list.h
@@ -18,6 +18,8 @@
#define COMMIT_ALLOC \
(sizeof(git_commit_list_node) + PARENTS_PER_COMMIT * sizeof(git_commit_list_node *))
+#define FLAG_BITS 4
+
typedef struct git_commit_list_node {
git_oid oid;
uint32_t time;