summaryrefslogtreecommitdiff
path: root/src/thread-utils.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-12-22 22:43:39 +0200
committerVicent Marti <tanoku@gmail.com>2010-12-22 22:43:39 +0200
commit2a18a792e3674b24f2d6312c039571c64f75dacd (patch)
tree9af7043ac4545e8d41c1f0b0898e0d22f201914e /src/thread-utils.h
parent0847dff5cd6522dbef29958cbafa7a56f409e82a (diff)
downloadlibgit2-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/thread-utils.h')
-rw-r--r--src/thread-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread-utils.h b/src/thread-utils.h
index 0395b97d1..864ecb7b1 100644
--- a/src/thread-utils.h
+++ b/src/thread-utils.h
@@ -84,6 +84,6 @@ typedef struct { int counter; } git_refcnt;
#endif
-extern int git_online_cpus(void);
+GIT_EXTERN(int) git_online_cpus(void);
#endif /* INCLUDE_thread_utils_h__ */