summaryrefslogtreecommitdiff
path: root/src/git/errors.h
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2010-01-11 21:11:55 +0000
committerRamsay Jones <ramsay@ramsay1.demon.co.uk>2010-01-20 20:19:06 +0000
commite3fe32b6a4ecb340fa7c9802285711cc52b8a101 (patch)
treef70dcd0924f1d58e9b68ec47fae83d29696865d7 /src/git/errors.h
parent0ef9d2aa934d6e5861206e8c5dd829dc09f4026a (diff)
downloadlibgit2-e3fe32b6a4ecb340fa7c9802285711cc52b8a101.tar.gz
Fix "'__thread' not at start of declaration" warnings (-Wextra)
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Diffstat (limited to 'src/git/errors.h')
-rw-r--r--src/git/errors.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/git/errors.h b/src/git/errors.h
index 37870a4c5..8e9e423ed 100644
--- a/src/git/errors.h
+++ b/src/git/errors.h
@@ -2,7 +2,6 @@
#define INCLUDE_git_errors_h__
#include "common.h"
-#include "thread-utils.h"
/**
* @file git/errors.h
@@ -14,7 +13,7 @@ GIT_BEGIN_DECL
/** The git errno. */
#if defined(GIT_TLS)
-GIT_EXTERN(int) GIT_TLS git_errno;
+GIT_EXTERN_TLS(int) git_errno;
#elif defined(GIT_HAS_PTHREAD)
# define git_errno (*git__errno_storage())