summaryrefslogtreecommitdiff
path: root/os/auth.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@benzedrine.nwnk.net>2007-03-25 17:57:54 -0400
committerAdam Jackson <ajax@benzedrine.nwnk.net>2007-03-25 17:57:54 -0400
commit4b5802ddbd45271be3cadeae0a83a6742df2515b (patch)
tree9569d18b523da979175562b113dd610752afd6ec /os/auth.c
parent04b87d6dfae02e4ecdb5216d12c6cdafd1e8c2b4 (diff)
General DIX static and dead code cleanup.
Diffstat (limited to 'os/auth.c')
-rw-r--r--os/auth.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/os/auth.c b/os/auth.c
index bf33b7ef1..b06333e6b 100644
--- a/os/auth.c
+++ b/os/auth.c
@@ -255,26 +255,6 @@ ResetAuthorization (void)
ShouldLoadAuth = TRUE;
}
-XID
-AuthorizationToID (
- unsigned short name_length,
- char *name,
- unsigned short data_length,
- char *data)
-{
- int i;
-
- for (i = 0; i < NUM_AUTHORIZATION; i++) {
- if (protocols[i].name_length == name_length &&
- memcmp (protocols[i].name, name, (int) name_length) == 0 &&
- protocols[i].ToID)
- {
- return (*protocols[i].ToID) (data_length, data);
- }
- }
- return (XID) ~0L;
-}
-
int
AuthorizationFromID (
XID id,