Commit a3f4a48c authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

renamed struct namespace to struct Namespace

parent 3f4d6a51
......@@ -79,7 +79,7 @@ static const union namespaceSwitchValue defaultSwitches[NUM_NAMESPACE_SWITCH] =
}
#endif
struct namespace
struct Namespace
{
statusCode resStage;
union namespaceSwitchValue switches[NUM_NAMESPACE_SWITCH];
......@@ -111,7 +111,7 @@ struct namespace
#endif
};
struct namespace *namespaces = &initialNamespace;
struct Namespace *namespaces = &initialNamespace;
static int namespacesSize = 1;
......@@ -202,7 +202,7 @@ namespaceNew()
else if (namespacesSize == 1)
{
/* make room for additional namespace */
struct namespace *newNameSpaces = (struct namespace*) xmalloc((namespacesSize + 1) * sizeof (namespaces[0]));
struct Namespace *newNameSpaces = (struct Namespace*) xmalloc((namespacesSize + 1) * sizeof (namespaces[0]));
memcpy(newNameSpaces, namespaces, sizeof (namespaces[0]));
namespaces = newNameSpaces;
++namespacesSize;
......@@ -212,7 +212,7 @@ namespaceNew()
{
/* make room for additional namespace */
newNamespaceID = namespacesSize;
namespaces = (struct namespace*) xrealloc(namespaces, (namespacesSize + 1) * sizeof (namespaces[0]));
namespaces = (struct Namespace*) xrealloc(namespaces, (namespacesSize + 1) * sizeof (namespaces[0]));
++namespacesSize;
}
else /* implicit: namespacesSize >= NUM_NAMESPACES */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment