summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2011-02-10 21:10:21 +0900
committerAkira TAGOH <akira@tagoh.org>2011-02-10 21:10:21 +0900
commitc4a3c02abdbb3af523773abcea3098e5276211d2 (patch)
tree2d03442b11f885a4589eb8e87eb09a0e81def945
parent55636ce4e6ab7e7f2d45e94f86e56581297079f4 (diff)
add hg_errno global variable like errno
-rw-r--r--hieroglyph/hgerror.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hieroglyph/hgerror.h b/hieroglyph/hgerror.h
index 33ac4f6..ad0f6fc 100644
--- a/hieroglyph/hgerror.h
+++ b/hieroglyph/hgerror.h
@@ -128,7 +128,7 @@ enum _hg_error_reason_t {
HG_e_END
};
-extern hg_error_t hg_errno;
+extern HG_THREAD_VAR hg_error_t hg_errno;
GQuark hg_error_quark (void);