summaryrefslogtreecommitdiffstats
path: root/cpukit/librpc/src/rpc/auth_unix.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-08-01 06:06:27 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-08-01 06:06:27 +0000
commit18f1673427d6cd5cc5aa46b94fa371f002bc7d7a (patch)
tree9f1d19ecd5c0b35cffe3a90962095abc937939e8 /cpukit/librpc/src/rpc/auth_unix.c
parentMisc. ansifications. (diff)
downloadrtems-18f1673427d6cd5cc5aa46b94fa371f002bc7d7a.tar.bz2
Misc. ansifications.
Add missing prototypes.
Diffstat (limited to '')
-rw-r--r--cpukit/librpc/src/rpc/auth_unix.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/cpukit/librpc/src/rpc/auth_unix.c b/cpukit/librpc/src/rpc/auth_unix.c
index 8703a70ac3..81df5a4904 100644
--- a/cpukit/librpc/src/rpc/auth_unix.c
+++ b/cpukit/librpc/src/rpc/auth_unix.c
@@ -85,7 +85,7 @@ struct audata {
};
#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
@@ -105,12 +105,12 @@ set_rpc_maxgrouplist(int num)
* Returns an auth handle with the given stuff in it.
*/
AUTH *
-authunix_create(machname, uid, gid, len, aup_gids)
- char *machname;
- int uid;
- int gid;
- int len;
- int *aup_gids;
+authunix_create(
+ char *machname,
+ int uid,
+ int gid,
+ int len,
+ int *aup_gids)
{
struct authunix_parms aup;
char mymem[MAX_AUTH_BYTES];
@@ -189,7 +189,7 @@ authunix_create(machname, uid, gid, len, aup_gids)
* syscalls.
*/
AUTH *
-authunix_create_default()
+authunix_create_default(void)
{
register int len;
char machname[MAX_MACHINE_NAME + 1];