You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2013/03/07 19:25:54 UTC
[lucy-commits] [2/6] git commit: refs/heads/c-bindings-wip2 - Make error globals
static
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 <we...@aevum.de>
Authored: Thu Mar 7 18:50:40 2013 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
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) {