Make Class_registry static.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/c1cbbe08 Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/c1cbbe08 Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/c1cbbe08 Branch: refs/heads/master Commit: c1cbbe08207bf008c764d776525e554e4ac48bd0 Parents: e5b3bf5 Author: Marvin Humphrey <[email protected]> Authored: Sat May 9 13:18:44 2015 -0700 Committer: Marvin Humphrey <[email protected]> Committed: Sat May 9 13:18:44 2015 -0700 ---------------------------------------------------------------------- runtime/core/Clownfish/Class.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/c1cbbe08/runtime/core/Clownfish/Class.c ---------------------------------------------------------------------- diff --git a/runtime/core/Clownfish/Class.c b/runtime/core/Clownfish/Class.c index dbfeb30..ed74bed 100644 --- a/runtime/core/Clownfish/Class.c +++ b/runtime/core/Clownfish/Class.c @@ -50,8 +50,7 @@ S_find_method(Class *self, const char *meth_name); static int32_t S_claim_parcel_id(void); -#define Class_registry cfish_Class_registry -LockFreeRegistry *Class_registry = NULL; +static LockFreeRegistry *Class_registry; void Class_bootstrap(const ClassSpec *specs, size_t num_specs)
