forked from Imagelibrary/rtems
Misc. ansifications.
Add missing prototypes.
This commit is contained in:
@@ -85,7 +85,7 @@ struct audata {
|
|||||||
};
|
};
|
||||||
#define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private)
|
#define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private)
|
||||||
|
|
||||||
static void marshal_new_auth();
|
static void marshal_new_auth(AUTH *);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This goop is here because some servers refuse to accept a
|
* This goop is here because some servers refuse to accept a
|
||||||
@@ -105,12 +105,12 @@ set_rpc_maxgrouplist(int num)
|
|||||||
* Returns an auth handle with the given stuff in it.
|
* Returns an auth handle with the given stuff in it.
|
||||||
*/
|
*/
|
||||||
AUTH *
|
AUTH *
|
||||||
authunix_create(machname, uid, gid, len, aup_gids)
|
authunix_create(
|
||||||
char *machname;
|
char *machname,
|
||||||
int uid;
|
int uid,
|
||||||
int gid;
|
int gid,
|
||||||
int len;
|
int len,
|
||||||
int *aup_gids;
|
int *aup_gids)
|
||||||
{
|
{
|
||||||
struct authunix_parms aup;
|
struct authunix_parms aup;
|
||||||
char mymem[MAX_AUTH_BYTES];
|
char mymem[MAX_AUTH_BYTES];
|
||||||
@@ -189,7 +189,7 @@ authunix_create(machname, uid, gid, len, aup_gids)
|
|||||||
* syscalls.
|
* syscalls.
|
||||||
*/
|
*/
|
||||||
AUTH *
|
AUTH *
|
||||||
authunix_create_default()
|
authunix_create_default(void)
|
||||||
{
|
{
|
||||||
register int len;
|
register int len;
|
||||||
char machname[MAX_MACHINE_NAME + 1];
|
char machname[MAX_MACHINE_NAME + 1];
|
||||||
|
|||||||
Reference in New Issue
Block a user