atom: make FreeAtom static
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
2d2cf9e322
commit
7b0f940625
|
@ -70,8 +70,6 @@ static NodePtr atomRoot = NULL;
|
||||||
static unsigned long tableLength;
|
static unsigned long tableLength;
|
||||||
static NodePtr *nodeTable;
|
static NodePtr *nodeTable;
|
||||||
|
|
||||||
void FreeAtom(NodePtr patom);
|
|
||||||
|
|
||||||
Atom
|
Atom
|
||||||
MakeAtom(const char *string, unsigned len, Bool makeit)
|
MakeAtom(const char *string, unsigned len, Bool makeit)
|
||||||
{
|
{
|
||||||
|
@ -166,7 +164,7 @@ AtomError(void)
|
||||||
FatalError("initializing atoms");
|
FatalError("initializing atoms");
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
FreeAtom(NodePtr patom)
|
FreeAtom(NodePtr patom)
|
||||||
{
|
{
|
||||||
if (patom->left)
|
if (patom->left)
|
||||||
|
|
Loading…
Reference in New Issue