diff options
| author | Vicent Marti <tanoku@gmail.com> | 2010-12-22 22:43:39 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2010-12-22 22:43:39 +0200 |
| commit | 2a18a792e3674b24f2d6312c039571c64f75dacd (patch) | |
| tree | 9af7043ac4545e8d41c1f0b0898e0d22f201914e /src/dir.h | |
| parent | 0847dff5cd6522dbef29958cbafa7a56f409e82a (diff) | |
| download | libgit2-2a18a792e3674b24f2d6312c039571c64f75dacd.tar.gz | |
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/dir.h')
| -rw-r--r-- | src/dir.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -22,10 +22,10 @@ typedef struct { int first; } git__DIR; -extern git__DIR *git__opendir(const char *); -extern struct git__dirent *git__readdir(git__DIR *); -extern void git__rewinddir(git__DIR *); -extern int git__closedir(git__DIR *); +GIT_EXTERN(git__DIR *) git__opendir(const char *); +GIT_EXTERN(struct git__dirent *) git__readdir(git__DIR *); +GIT_EXTERN(void) git__rewinddir(git__DIR *); +GIT_EXTERN(int) git__closedir(git__DIR *); # ifndef GIT__WIN32_NO_WRAP_DIR # define dirent git__dirent |
