summaryrefslogtreecommitdiff
path: root/dix/atom.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:22 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:22 +0000
commitd568221710959cf7d783e6ff0fb80fb43a231124 (patch)
tree8d6f039393294c6ffac8533639afdebe5d68bfc1 /dix/atom.c
parent9508a382f8a9f241dab097d921b6d290c1c3a776 (diff)
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);