Commit babbff34 by Russell Belfer

Move un-namespaced constant to internal header

FLAG_BITS only seems to be used internally
parent fd0f6d38
...@@ -83,8 +83,6 @@ GIT_BEGIN_DECL ...@@ -83,8 +83,6 @@ GIT_BEGIN_DECL
*/ */
#define GIT_OID_HEX_ZERO "0000000000000000000000000000000000000000" #define GIT_OID_HEX_ZERO "0000000000000000000000000000000000000000"
#define FLAG_BITS 27
/** /**
* Return the version of the libgit2 library * Return the version of the libgit2 library
* being currently used. * being currently used.
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define COMMIT_ALLOC \ #define COMMIT_ALLOC \
(sizeof(git_commit_list_node) + PARENTS_PER_COMMIT * sizeof(git_commit_list_node *)) (sizeof(git_commit_list_node) + PARENTS_PER_COMMIT * sizeof(git_commit_list_node *))
#define FLAG_BITS 4
typedef struct git_commit_list_node { typedef struct git_commit_list_node {
git_oid oid; git_oid oid;
uint32_t time; uint32_t time;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment