diff options
Diffstat (limited to 'sunrpc/rpcsvc/rusers.x')
-rw-r--r-- | sunrpc/rpcsvc/rusers.x | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/sunrpc/rpcsvc/rusers.x b/sunrpc/rpcsvc/rusers.x index 476ed7400c..5bbfe97e79 100644 --- a/sunrpc/rpcsvc/rusers.x +++ b/sunrpc/rpcsvc/rusers.x @@ -137,9 +137,7 @@ program RUSERSPROG { %bool_t xdr_utmp (XDR *xdrs, struct ru_utmp *objp); % %bool_t -%xdr_utmp(xdrs, objp) -% XDR *xdrs; -% struct ru_utmp *objp; +%xdr_utmp (XDR *xdrs, struct ru_utmp *objp) %{ % /* Since the fields are char foo [xxx], we should not free them. */ % if (xdrs->x_op != XDR_FREE) @@ -171,9 +169,7 @@ program RUSERSPROG { %bool_t xdr_utmpptr(XDR *xdrs, struct ru_utmp **objpp); % %bool_t -%xdr_utmpptr(xdrs, objpp) -% XDR *xdrs; -% struct ru_utmp **objpp; +%xdr_utmpptr (XDR *xdrs, struct ru_utmp **objpp) %{ % if (!xdr_reference(xdrs, (char **) objpp, sizeof (struct ru_utmp), % (xdrproc_t) xdr_utmp)) { @@ -183,9 +179,7 @@ program RUSERSPROG { %} % %bool_t -%xdr_utmparr(xdrs, objp) -% XDR *xdrs; -% struct utmparr *objp; +%xdr_utmparr (XDR *xdrs, struct utmparr *objp) %{ % if (!xdr_array(xdrs, (char **)&objp->uta_arr, (u_int *)&objp->uta_cnt, % MAXUSERS, sizeof(struct ru_utmp *), @@ -198,9 +192,7 @@ program RUSERSPROG { %bool_t xdr_utmpidle(XDR *xdrs, struct utmpidle *objp); % %bool_t -%xdr_utmpidle(xdrs, objp) -% XDR *xdrs; -% struct utmpidle *objp; +%xdr_utmpidle (XDR *xdrs, struct utmpidle *objp) %{ % if (!xdr_utmp(xdrs, &objp->ui_utmp)) { % return (FALSE); @@ -214,9 +206,7 @@ program RUSERSPROG { %bool_t xdr_utmpidleptr(XDR *xdrs, struct utmpidle **objp); % %bool_t -%xdr_utmpidleptr(xdrs, objpp) -% XDR *xdrs; -% struct utmpidle **objpp; +%xdr_utmpidleptr (XDR *xdrs, struct utmpidle **objpp) %{ % if (!xdr_reference(xdrs, (char **) objpp, sizeof (struct utmpidle), % (xdrproc_t) xdr_utmpidle)) { @@ -226,9 +216,7 @@ program RUSERSPROG { %} % %bool_t -%xdr_utmpidlearr(xdrs, objp) -% XDR *xdrs; -% struct utmpidlearr *objp; +%xdr_utmpidlearr (XDR *xdrs, struct utmpidlearr *objp) %{ % if (!xdr_array(xdrs, (char **)&objp->uia_arr, (u_int *)&objp->uia_cnt, % MAXUSERS, sizeof(struct utmpidle *), |