From 3017fb3605d59cb41c4def4ffd0b7f967f99315d Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Sun, 20 Jan 2008 19:40:42 +0000 Subject: first pass de-K&Rify lib --- lib/ZAsyncLocate.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'lib/ZAsyncLocate.c') diff --git a/lib/ZAsyncLocate.c b/lib/ZAsyncLocate.c index d248064..41ecffb 100644 --- a/lib/ZAsyncLocate.c +++ b/lib/ZAsyncLocate.c @@ -16,11 +16,11 @@ static const char rcsid_ZAsyncLocate_c[] = "$Id$"; #endif -Code_t ZRequestLocations(user, zald, kind, auth) - char *user; - register ZAsyncLocateData_t *zald; - ZNotice_Kind_t kind; /* UNSAFE, UNACKED, or ACKED */ - Z_AuthProc auth; +Code_t +ZRequestLocations(char *user, + register ZAsyncLocateData_t *zald, + ZNotice_Kind_t kind, /* UNSAFE, UNACKED, or ACKED */ + Z_AuthProc auth) { int retval; ZNotice_t notice; @@ -57,11 +57,11 @@ Code_t ZRequestLocations(user, zald, kind, auth) return(ZERR_NONE); } -Code_t ZParseLocations(notice,zald,nlocs,user) - register ZNotice_t *notice; - register ZAsyncLocateData_t *zald; - int *nlocs; - char **user; +Code_t +ZParseLocations(register ZNotice_t *notice, + register ZAsyncLocateData_t *zald, + int *nlocs, + char **user) { char *ptr, *end; int i; @@ -149,16 +149,16 @@ Code_t ZParseLocations(notice,zald,nlocs,user) return (ZERR_NONE); } -int ZCompareALDPred(notice, zald) - ZNotice_t *notice; - void *zald; +int +ZCompareALDPred(ZNotice_t *notice, + void *zald) { return(ZCompareUID(&(notice->z_multiuid), &(((ZAsyncLocateData_t *) zald)->uid))); } -void ZFreeALD(zald) - register ZAsyncLocateData_t *zald; +void +ZFreeALD(register ZAsyncLocateData_t *zald) { if (!zald) return; -- cgit v1.2.3