summaryrefslogtreecommitdiff
path: root/dix/atom.c
diff options
context:
space:
mode:
Diffstat (limited to 'dix/atom.c')
-rw-r--r--dix/atom.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/dix/atom.c b/dix/atom.c
index d5c53d2e2..66c045583 100644
--- a/dix/atom.c
+++ b/dix/atom.c
@@ -1,3 +1,4 @@
+/* $XFree86: xc/programs/Xserver/dix/atom.c,v 3.4 2002/02/19 11:09:21 alanh Exp $ */
/***********************************************************
Copyright 1987, 1998 The Open Group
@@ -51,6 +52,7 @@ SOFTWARE.
#include "Xatom.h"
#include "misc.h"
#include "resource.h"
+#include "dix.h"
#define InitialTableSize 100
@@ -66,6 +68,8 @@ static NodePtr atomRoot = (NodePtr)NULL;
static unsigned long tableLength;
static NodePtr *nodeTable;
+void FreeAtom(NodePtr patom);
+
Atom
MakeAtom(string, len, makeit)
char *string;
@@ -170,8 +174,7 @@ AtomError()
}
void
-FreeAtom(patom)
- NodePtr patom;
+FreeAtom(NodePtr patom)
{
if(patom->left)
FreeAtom(patom->left);