diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-07-09 02:37:16 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-07-09 02:40:16 +0200 |
commit | 06c43821b94dcf9fa4f95f29c12f77d18a402690 (patch) | |
tree | 219e1f975109df1989bdcd86611e59ccf1ca403e /src/util.h | |
parent | afeecf4f262b74270368ef8a70c582ea9d5a18e8 (diff) | |
download | libgit2-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.h | 2 |
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); /* |