[PATCH 2/2] atom: make FreeAtom static

Adam Jackson ajax at redhat.com
Tue Jun 2 11:08:39 PDT 2015


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 dix/atom.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dix/atom.c b/dix/atom.c
index a1e555e..da0adfe 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)
-- 
2.4.1



More information about the xorg-devel mailing list