summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-07-09 02:37:16 +0200
committerVicent Marti <tanoku@gmail.com>2011-07-09 02:40:16 +0200
commit06c43821b94dcf9fa4f95f29c12f77d18a402690 (patch)
tree219e1f975109df1989bdcd86611e59ccf1ca403e /src/util.h
parentafeecf4f262b74270368ef8a70c582ea9d5a18e8 (diff)
downloadlibgit2-06c43821b94dcf9fa4f95f29c12f77d18a402690.tar.gz
Remove unused methods
The direct-writes commit left some (slow) internals methods that were no longer needed. These have been removed. Also, the Reflog code was using the old `git_signature__write`, so it has been rewritten to use a normal buffer and the new `writebuf` signature writer. It's now slightly simpler and faster.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h
index e64907085..e78b2cd5e 100644
--- a/src/util.h
+++ b/src/util.h
@@ -95,8 +95,6 @@ extern void git__strtolower(char *str);
#define STRLEN(str) (sizeof(str) - 1)
-#define GIT_OID_LINE_LENGTH(header) (STRLEN(header) + 1 + GIT_OID_HEXSZ + 1)
-
extern int git__fnmatch(const char *pattern, const char *name, int flags);
/*