summaryrefslogtreecommitdiffstats
path: root/cpukit/librpc/src/rpc/getrpcent.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-01 11:32:18 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-01 11:32:18 +0000
commita66bc0f761fcc23e27977921cfe583d1c9ba3e82 (patch)
treedf1394ed9059db704ff552239117a99e1ed1d547 /cpukit/librpc/src/rpc/getrpcent.c
parent2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-a66bc0f761fcc23e27977921cfe583d1c9ba3e82.tar.bz2
Stop using old-style function definitions.
Diffstat (limited to 'cpukit/librpc/src/rpc/getrpcent.c')
-rw-r--r--cpukit/librpc/src/rpc/getrpcent.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/cpukit/librpc/src/rpc/getrpcent.c b/cpukit/librpc/src/rpc/getrpcent.c
index 5eb9c98ad5..27ff4d3c14 100644
--- a/cpukit/librpc/src/rpc/getrpcent.c
+++ b/cpukit/librpc/src/rpc/getrpcent.c
@@ -86,8 +86,7 @@ _rpcdata(void)
}
struct rpcent *
-getrpcbynumber(number)
- register int number;
+getrpcbynumber(int number)
{
register struct rpcdata *d = _rpcdata();
register struct rpcent *p;
@@ -131,8 +130,7 @@ no_yp:
}
struct rpcent *
-getrpcbyname(name)
- char *name;
+getrpcbyname(char *name)
{
struct rpcent *rpc = NULL;
char **rp;
@@ -152,8 +150,7 @@ done:
}
void
-setrpcent(f)
- int f;
+setrpcent(int f)
{
register struct rpcdata *d = _rpcdata();
@@ -177,7 +174,7 @@ setrpcent(f)
}
void
-endrpcent()
+endrpcent(void)
{
register struct rpcdata *d = _rpcdata();
@@ -200,7 +197,7 @@ endrpcent()
}
struct rpcent *
-getrpcent()
+getrpcent(void)
{
register struct rpcdata *d = _rpcdata();
#ifdef YP