diff options
| author | Vicent Marti <tanoku@gmail.com> | 2010-12-23 00:44:41 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2010-12-23 00:44:41 +0200 |
| commit | e035685f272579a8620741aaad521540712c0725 (patch) | |
| tree | 2a4fec1eece77df75aca4b1b54e96c286af5ddd6 /src/util.h | |
| parent | e7379f338474fad9318faffe5d0b6000ff3e1b30 (diff) | |
| download | libgit2-e035685f272579a8620741aaad521540712c0725.tar.gz | |
Revert "Properly export all external symbols in Win32"
It is not a good idea to export these internal symbols now that they are
not required to run the unit tests.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/util.h b/src/util.h index 5204185b9..808b20da4 100644 --- a/src/util.h +++ b/src/util.h @@ -14,15 +14,15 @@ #define git__calloc calloc #define git__strdup strdup -GIT_EXTERN(int) git__fmt(char *, size_t, const char *, ...) +extern int git__fmt(char *, size_t, const char *, ...) GIT_FORMAT_PRINTF(3, 4); -GIT_EXTERN(int) git__prefixcmp(const char *str, const char *prefix); -GIT_EXTERN(int) git__suffixcmp(const char *str, const char *suffix); +extern int git__prefixcmp(const char *str, const char *prefix); +extern int git__suffixcmp(const char *str, const char *suffix); -GIT_EXTERN(int) git__dirname(char *dir, size_t n, char *path); -GIT_EXTERN(int) git__basename(char *base, size_t n, char *path); +extern int git__dirname(char *dir, size_t n, char *path); +extern int git__basename(char *base, size_t n, char *path); -GIT_EXTERN(void) git__hexdump(const char *buffer, size_t n); +extern void git__hexdump(const char *buffer, size_t n); /** @return true if p fits into the range of a size_t */ GIT_INLINE(int) git__is_sizet(off_t p) |
