summaryrefslogtreecommitdiff
path: root/src/global.h
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-16 11:49:25 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-09-16 13:07:04 +0200
commit3b2cb2c91ee77e5e45957e8355025e3e742c07bd (patch)
tree01213a03d821babf6103754afe64fed6e9849a6f /src/global.h
parent3a495c19bd280f5455047a9ac0e936f2c2f2f9a9 (diff)
downloadlibgit2-3b2cb2c91ee77e5e45957e8355025e3e742c07bd.tar.gz
Factor 40 and 41 constants from source.
Diffstat (limited to 'src/global.h')
-rw-r--r--src/global.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/global.h b/src/global.h
index 106504628..a89a8d6ab 100644
--- a/src/global.h
+++ b/src/global.h
@@ -7,13 +7,14 @@
#ifndef INCLUDE_global_h__
#define INCLUDE_global_h__
+#include "common.h"
#include "mwindow.h"
#include "hash.h"
typedef struct {
git_error *last_error;
git_error error_t;
- char oid_fmt[41];
+ char oid_fmt[GIT_OID_HEXSZ+1];
} git_global_st;
#ifdef GIT_SSL