diff options
Diffstat (limited to 'dix/atom.c')
-rw-r--r-- | dix/atom.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/dix/atom.c b/dix/atom.c index 7509f0a24..5a62ff083 100644 --- a/dix/atom.c +++ b/dix/atom.c @@ -71,10 +71,7 @@ static NodePtr *nodeTable; void FreeAtom(NodePtr patom); Atom -MakeAtom(string, len, makeit) - char *string; - unsigned len; - Bool makeit; +MakeAtom(char *string, unsigned len, Bool makeit) { register NodePtr * np; unsigned i; @@ -151,15 +148,13 @@ MakeAtom(string, len, makeit) } Bool -ValidAtom(atom) - Atom atom; +ValidAtom(Atom atom) { return (atom != None) && (atom <= lastAtom); } char * -NameForAtom(atom) - Atom atom; +NameForAtom(Atom atom) { NodePtr node; if (atom > lastAtom) return 0; |