summaryrefslogtreecommitdiff
path: root/server/uloc.c
diff options
context:
space:
mode:
authorGravatar John Kohl <jtkohl@mit.edu>1987-07-22 13:58:54 +0000
committerGravatar John Kohl <jtkohl@mit.edu>1987-07-22 13:58:54 +0000
commit41e9c551953605726121420d31e248aeaed953fb (patch)
tree8dbf91959a55019fe206581a497daa23fe83d08c /server/uloc.c
parent60a3f1fd281dab1e80391d344b1484a9b5e2231d (diff)
remove uloc_compare
Diffstat (limited to 'server/uloc.c')
-rw-r--r--server/uloc.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/server/uloc.c b/server/uloc.c
index b5dce5d..30c0849 100644
--- a/server/uloc.c
+++ b/server/uloc.c
@@ -78,7 +78,7 @@ typedef struct _ZLocation_t {
static void ulogin_locate(), ulogin_add_user();
static ZLocation_t *ulogin_find();
-static int uloc_compare(), ulogin_setup(), ulogin_parse(), ul_equiv();
+static int ulogin_setup(), ulogin_parse(), ul_equiv();
static int ulogin_remove_user(), ulogin_hide_user();
static ZLocation_t *locations = NULLZLT; /* ptr to first in array */
@@ -460,17 +460,6 @@ register ZLocation_t *locs;
}
/*
- * Compare two locations for ordering via qsort
- */
-
-static int
-uloc_compare(l1, l2)
-ZLocation_t *l1, *l2;
-{
- return(strcmp(l1->zlt_user, l2->zlt_user));
-}
-
-/*
* Find the username specified in notice->z_class_inst.
* If strict, make sure the locations in notice and the table match.
* Otherwise return a pointer to the first instance of this user@realm