Make error globals static

Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/4cae583d
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/4cae583d
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/4cae583d

Branch: refs/heads/c-bindings-wip2
Commit: 4cae583d5d2535a5c6b7a8047f1a4a42b83ad50d
Parents: 49d9fa8
Author: Nick Wellnhofer <[email protected]>
Authored: Thu Mar 7 18:50:40 2013 +0100
Committer: Nick Wellnhofer <[email protected]>
Committed: Thu Mar 7 18:50:40 2013 +0100

----------------------------------------------------------------------
 c/src/Clownfish/Err.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/4cae583d/c/src/Clownfish/Err.c
----------------------------------------------------------------------
diff --git a/c/src/Clownfish/Err.c b/c/src/Clownfish/Err.c
index 0744f67..a4c3e38 100644
--- a/c/src/Clownfish/Err.c
+++ b/c/src/Clownfish/Err.c
@@ -21,9 +21,9 @@
 #include <stdlib.h>
 
 /* TODO: Thread safety */
-lucy_Err *current_error;
-lucy_Err *thrown_error;
-jmp_buf  *current_env;
+static lucy_Err *current_error;
+static lucy_Err *thrown_error;
+static jmp_buf  *current_env;
 
 void
 lucy_Err_init_class(void) {

Reply via email to