diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-06-16 02:48:48 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-06-16 02:50:08 +0200 |
commit | f1d018513aced2fb4e6c87f2d417b6f826dbe998 (patch) | |
tree | ed3f93db76dc70f854f20f4b3bd7f627c0ca6d19 /src/oid.h | |
parent | fa48608ec30758dbf6d0d26d3c4f8efba8efe8e9 (diff) | |
download | libgit2-f1d018513aced2fb4e6c87f2d417b6f826dbe998.tar.gz |
oid: Uniformize ncmp methods
Drop redundant methods. The ncmp method is now public
Diffstat (limited to 'src/oid.h')
-rw-r--r-- | src/oid.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/oid.h b/src/oid.h deleted file mode 100644 index afdfcf9ba..000000000 --- a/src/oid.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef INCLUDE_oid_h__ -#define INCLUDE_oid_h__ - -/** - * Compare the first ('len'*4) bits of two raw formatted oids. - * This can be useful for internal use. - * Return 0 if they match. - */ -int git_oid_ncmp_raw(unsigned int len, const unsigned char *a, const unsigned char *b); - -/** - * Compare the first 'len' characters of two hex formatted oids. - * Return 0 if they match. - */ -int git_oid_ncmp_hex(unsigned int len, const unsigned char *a, const unsigned char *b); - -#endif |