summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2014-12-19 13:46:37 -0500
committerAdam Jackson <ajax@redhat.com>2015-07-08 16:41:29 -0400
commit7b0f940625a0f6eee2ef91dfbfa4a206246940f5 (patch)
tree62e63bdf563c35a5e50ca8b5077f7680b52103c2 /dix
parent2d2cf9e322a5ec3ead175edc136cdaeea00ec1b1 (diff)
atom: make FreeAtom static
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'dix')
-rw-r--r--dix/atom.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/dix/atom.c b/dix/atom.c
index a1e555e31..da0adfe78 100644
--- a/dix/atom.c
+++ b/dix/atom.c
@@ -70,8 +70,6 @@ static NodePtr atomRoot = NULL;
static unsigned long tableLength;
static NodePtr *nodeTable;
-void FreeAtom(NodePtr patom);
-
Atom
MakeAtom(const char *string, unsigned len, Bool makeit)
{
@@ -166,7 +164,7 @@ AtomError(void)
FatalError("initializing atoms");
}
-void
+static void
FreeAtom(NodePtr patom)
{
if (patom->left)