diff options
| author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2012-10-07 05:11:29 +0000 |
|---|---|---|
| committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2012-10-07 05:11:29 +0000 |
| commit | d0f35427b0c426ac427fc0a490a5d6482dfd036b (patch) | |
| tree | a459750c6090abb5a7e6dfb64c8f1cde902ad727 /include | |
| parent | 3179e55724a23fa98e544bf40916efeb51df159a (diff) | |
Notes
Diffstat (limited to 'include')
| -rw-r--r-- | include/rpc/auth.h | 9 | ||||
| -rw-r--r-- | include/rpc/auth_unix.h | 6 |
2 files changed, 7 insertions, 8 deletions
diff --git a/include/rpc/auth.h b/include/rpc/auth.h index d39ad12053799..b19addc87d633 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; + * u_int uid; + * u_int gid; * int len; - * int *aup_gids; + * u_int *aup_gids; */ __BEGIN_DECLS -extern AUTH *authunix_create(char *, int, int, int, - int *); +extern AUTH *authunix_create(char *, u_int, u_int, int, u_int *); extern AUTH *authunix_create_default(void); /* takes no parameters */ extern AUTH *authnone_create(void); /* takes no parameters */ __END_DECLS diff --git a/include/rpc/auth_unix.h b/include/rpc/auth_unix.h index 48373b2c24c71..b005bac8a51a6 100644 --- a/include/rpc/auth_unix.h +++ b/include/rpc/auth_unix.h @@ -60,10 +60,10 @@ struct authunix_parms { u_long aup_time; char *aup_machname; - int aup_uid; - int aup_gid; + u_int aup_uid; + u_int aup_gid; u_int aup_len; - int *aup_gids; + u_int *aup_gids; }; #define authsys_parms authunix_parms |
