diff options
author | pfg <pfg@FreeBSD.org> | 2012-10-02 19:00:56 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2012-10-02 19:00:56 +0000 |
commit | 801a570273e78622987dcab8701b018ed637f465 (patch) | |
tree | aa44b26240a05517bc18100b05e2fdf7e2618175 /include/rpc/auth.h | |
parent | b94c59684cdb3c9b3b7ba7b02eefbdc58be1e551 (diff) | |
download | FreeBSD-src-801a570273e78622987dcab8701b018ed637f465.zip FreeBSD-src-801a570273e78622987dcab8701b018ed637f465.tar.gz |
RPC: Convert all uid and gid variables of the type uid_t and gid_t.
This matches what upstream (OpenSolaris) does.
Tested by: David Wolfskill
Obtained from: Bull GNU/Linux NFSv4 project (libtirpc)
MFC after: 3 days
Diffstat (limited to 'include/rpc/auth.h')
-rw-r--r-- | include/rpc/auth.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/rpc/auth.h b/include/rpc/auth.h index d39ad12..5833c02 100644 --- a/include/rpc/auth.h +++ b/include/rpc/auth.h @@ -243,14 +243,13 @@ __END_DECLS * System style authentication * AUTH *authunix_create(machname, uid, gid, len, aup_gids) * char *machname; - * int uid; - * int gid; + * uid_t uid; + * gid_t gid; * int len; - * int *aup_gids; + * gid_t *aup_gids; */ __BEGIN_DECLS -extern AUTH *authunix_create(char *, int, int, int, - int *); +extern AUTH *authunix_create(char *, uid_t, gid_t, int, gid_t *); extern AUTH *authunix_create_default(void); /* takes no parameters */ extern AUTH *authnone_create(void); /* takes no parameters */ __END_DECLS |