diff options
author | Vicent Marti <tanoku@gmail.com> | 2010-12-22 23:43:39 +0300 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2010-12-22 23:43:39 +0300 |
commit | 2a18a792e3674b24f2d6312c039571c64f75dacd (patch) | |
tree | 9af7043ac4545e8d41c1f0b0898e0d22f201914e /src/map.h | |
parent | 0847dff5cd6522dbef29958cbafa7a56f409e82a (diff) |
Properly export all external symbols in Win32
Some external functions were not being exported because they were using
the 'extern' keyword instead of the generic GIT_EXTERN() macro.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,7 +25,7 @@ typedef struct { /* memory mapped buffer */ #endif } git_map; -extern int git__mmap(git_map *out, size_t len, int prot, int flags, int fd, off_t offset); -extern int git__munmap(git_map *map); +GIT_EXTERN(int) git__mmap(git_map *out, size_t len, int prot, int flags, int fd, off_t offset); +GIT_EXTERN(int) git__munmap(git_map *map); #endif /* INCLUDE_map_h__ */ |