From 4d9e79ae2c6c480686c62ddb7b76d7d2daebd2b7 Mon Sep 17 00:00:00 2001 From: Thomas Jahns <jahns@dkrz.de> Date: Wed, 25 Mar 2015 12:42:26 +0000 Subject: [PATCH] Add missing static declarations. --- src/namespace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/namespace.c b/src/namespace.c index 15fc5ed27..0c2345261 100644 --- a/src/namespace.c +++ b/src/namespace.c @@ -61,7 +61,7 @@ static const union namespaceSwitchValue defaultSwitches_[NUM_NAMESPACE_SWITCH] = defaultSwitches; #endif -struct Namespace +static struct Namespace { statusCode resStage; union namespaceSwitchValue switches[NUM_NAMESPACE_SWITCH]; @@ -70,7 +70,7 @@ struct Namespace .switches = defaultSwitches }; -struct Namespace *namespaces = &initialNamespace; +static struct Namespace *namespaces = &initialNamespace; static int namespacesSize = 1; -- GitLab