summaryrefslogtreecommitdiffstats
path: root/cpukit/librpc/src/rpc/pmap_clnt.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/pmap_clnt.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/pmap_clnt.c')
-rw-r--r--cpukit/librpc/src/rpc/pmap_clnt.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/cpukit/librpc/src/rpc/pmap_clnt.c b/cpukit/librpc/src/rpc/pmap_clnt.c
index 5801006939..5058e19699 100644
--- a/cpukit/librpc/src/rpc/pmap_clnt.c
+++ b/cpukit/librpc/src/rpc/pmap_clnt.c
@@ -60,11 +60,11 @@ static struct timeval tottimeout = { 60, 0 };
* Calls the pmap service remotely to do the mapping.
*/
bool_t
-pmap_set(program, version, protocol, port)
- u_long program;
- u_long version;
- int protocol;
- int port; /* was u_short but changed to match prototype */
+pmap_set(
+ u_long program,
+ u_long version,
+ int protocol,
+ int port) /* was u_short but changed to match prototype */
{
struct sockaddr_in myaddress;
int socket = -1;
@@ -109,9 +109,9 @@ pmap_set(program, version, protocol, port)
* Calls the pmap service remotely to do the un-mapping.
*/
bool_t
-pmap_unset(program, version)
- u_long program;
- u_long version;
+pmap_unset(
+ u_long program,
+ u_long version)
{
struct sockaddr_in myaddress;
int socket = -1;