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/signature.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/signature.h')
-rw-r--r-- | src/signature.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/signature.h b/src/signature.h index 41bc25871..c2e7e7815 100644 --- a/src/signature.h +++ b/src/signature.h @@ -7,7 +7,6 @@ #include <time.h> int git_signature__parse(git_signature *sig, const char **buffer_out, const char *buffer_end, const char *header); -int git_signature__write(char **signature, const char *header, const git_signature *sig); void git_signature__writebuf(git_buf *buf, const char *header, const git_signature *sig); #endif |