diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-09-22 08:40:00 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-09-22 08:40:00 +0000 |
commit | fe62ac00f4006f794ea9d3d0a2d4d5d65b89103f (patch) | |
tree | 3891b8b1feeb3dc81c6b62d3cbb25b1cd0bd1b42 /lib | |
parent | a7c05045d9d32b9c94cbfe4bfb0e0ee6876cbee7 (diff) |
Always use private utmp structure definition; don't depend on host system
not to change
Diffstat (limited to 'lib')
-rw-r--r-- | lib/librpcsvc/rnusers.x | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/librpcsvc/rnusers.x b/lib/librpcsvc/rnusers.x index d33ddf2267a..d2ad92c5135 100644 --- a/lib/librpcsvc/rnusers.x +++ b/lib/librpcsvc/rnusers.x @@ -35,7 +35,7 @@ %#ifndef lint %/*static char sccsid[] = "from: @(#)rnusers.x 1.2 87/09/20 Copyr 1987 Sun Micro";*/ %/*static char sccsid[] = "from: @(#)rnusers.x 2.1 88/08/01 4.0 RPCSRC";*/ -%static char rcsid[] = "$Id: rnusers.x,v 1.3 1996/09/22 08:13:43 tholo Exp $"; +%static char rcsid[] = "$Id: rnusers.x,v 1.4 1996/09/22 08:39:59 tholo Exp $"; %#endif /* not lint */ #endif @@ -68,7 +68,7 @@ %typedef struct ru_utmp rutmp; % %struct utmparr { -% struct utmp **uta_arr; +% struct ru_utmp **uta_arr; % int uta_cnt; %}; %typedef struct utmparr utmparr; @@ -132,7 +132,7 @@ %bool_t %xdr_utmpptr(xdrs, objpp) % XDR *xdrs; -% struct utmp **objpp; +% struct ru_utmp **objpp; %{ % if (!xdr_reference(xdrs, (char **) objpp, sizeof (struct ru_utmp), % xdr_utmp)) { @@ -147,7 +147,7 @@ % struct utmparr *objp; %{ % if (!xdr_array(xdrs, (char **)&objp->uta_arr, (u_int *)&objp->uta_cnt, -% MAXUSERS, sizeof(struct utmp *), xdr_utmpptr)) { +% MAXUSERS, sizeof(struct ru_utmp *), xdr_utmpptr)) { % return (FALSE); % } % return (TRUE); |