diff options
author | Greg Hudson <ghudson@mit.edu> | 1997-09-14 17:50:06 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 1997-09-14 17:50:06 +0000 |
commit | ac16f380e349fa39ec7e26bccb5456cb300006a5 (patch) | |
tree | c07ca88af97b4f6b77d28a2dc723d2e4621ed302 /lib/ZNewLocU.c | |
parent | d33e482744fad80d95cdd89ed380c5b8401e49bf (diff) |
Pull in sources from zephyr locker. See /mit/zephyr/repository for
detailed change information.
Diffstat (limited to 'lib/ZNewLocU.c')
-rw-r--r-- | lib/ZNewLocU.c | 11 |
1 files changed, 5 insertions, 6 deletions
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 <internal.h> + #ifndef lint -static char rcsid_ZNewLocateUser_c[] = +static const char rcsid_ZNewLocateUser_c[] = "$Id$"; #endif -#include <zephyr/zephyr_internal.h> - 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) |