From ee442551e1531712226a3a3ba26afff466100bb5 Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Mon, 21 Jan 2008 07:57:32 +0000 Subject: passes gcc -Wall with no warnings other than des cryppt C_block sadness and getsid problem --- server/uloc.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'server/uloc.c') diff --git a/server/uloc.c b/server/uloc.c index 8583553..5768376 100644 --- a/server/uloc.c +++ b/server/uloc.c @@ -102,8 +102,6 @@ static void login_sendit __P((ZNotice_t *notice, int auth, static char **ulogin_marshal_locs __P((ZNotice_t *notice, int *found, int auth)); -static int ul_equiv __P((Location *l1, Location *l2)); - static void free_loc __P((Location *loc)); static void ulogin_locate_forward __P((ZNotice_t *notice, struct sockaddr_in *who, ZRealm *realm)); @@ -666,16 +664,6 @@ ulogin_find_user(char *user) return &locations[i]; } -static int -ul_equiv(Location *l1, Location *l2) -{ - if (l1->machine != l2->machine) - return 0; - if (l1->tty != l2->tty) - return 0; - return 1; -} - /* * remove the user specified in notice from the internal table */ -- cgit v1.2.3