diff options
| author | nulltoken <emeric.fermas@gmail.com> | 2011-08-09 12:07:47 +0200 |
|---|---|---|
| committer | nulltoken <emeric.fermas@gmail.com> | 2011-08-09 22:34:54 +0200 |
| commit | d1f346931a7db577d24dca4f4ff5f81103bcc191 (patch) | |
| tree | 02e3e4776bb4e7611876a338a10fbecc76ddaf35 /src/util.h | |
| parent | f6867e639a963726f381739314ea7a9d181c5aae (diff) | |
| download | libgit2-d1f346931a7db577d24dca4f4ff5f81103bcc191.tar.gz | |
util: Add git__strcmp_cb() wrapper
We don't want direct pointers to the CRT on Windows, we may get stdcall conflicts.
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index e78b2cd5e..18929af8e 100644 --- a/src/util.h +++ b/src/util.h @@ -120,4 +120,6 @@ extern void git__tsort(void **dst, size_t size, int (*cmp)(const void *, const v extern void **git__bsearch(const void *key, void **base, size_t nmemb, int (*compar)(const void *, const void *)); +extern int git__strcmp_cb(const void *a, const void *b); + #endif /* INCLUDE_util_h__ */ |
