From ac16f380e349fa39ec7e26bccb5456cb300006a5 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Sun, 14 Sep 1997 17:50:06 +0000 Subject: Pull in sources from zephyr locker. See /mit/zephyr/repository for detailed change information. --- lib/ZNewLocU.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'lib/ZNewLocU.c') diff --git a/lib/ZNewLocU.c b/lib/ZNewLocU.c index 3231126..87c6dc4 100644 --- a/lib/ZNewLocU.c +++ b/lib/ZNewLocU.c @@ -12,19 +12,19 @@ */ /* $Header$ */ +#include + #ifndef lint -static char rcsid_ZNewLocateUser_c[] = +static const char rcsid_ZNewLocateUser_c[] = "$Id$"; #endif -#include - Code_t ZLocateUser(user, nlocs, auth) char *user; int *nlocs; Z_AuthProc auth; { - register int retval; + Code_t retval; ZNotice_t notice; ZAsyncLocateData_t zald; @@ -34,8 +34,7 @@ Code_t ZLocateUser(user, nlocs, auth) if ((retval = ZRequestLocations(user, &zald, UNACKED, auth)) != ZERR_NONE) return(retval); - retval = Z_WaitForNotice (¬ice, ZCompareALDPred, - (char *) &zald, SRV_TIMEOUT); + retval = Z_WaitForNotice (¬ice, ZCompareALDPred, &zald, SRV_TIMEOUT); if (retval == ZERR_NONOTICE) return ETIMEDOUT; if (retval != ZERR_NONE) -- cgit v1.2.3