Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-12-22 23:43:39 +0300
committerVicent Marti <tanoku@gmail.com>2010-12-22 23:43:39 +0300
commit2a18a792e3674b24f2d6312c039571c64f75dacd (patch)
tree9af7043ac4545e8d41c1f0b0898e0d22f201914e /src/map.h
parent0847dff5cd6522dbef29958cbafa7a56f409e82a (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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map.h b/src/map.h
index 3188ffdbb..2388bb345 100644
--- a/src/map.h
+++ b/src/map.h
@@ -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__ */