diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-01 05:40:52 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-01 05:40:52 +0000 |
commit | 9f4040a13b1849539679f71183c4118f015b6412 (patch) | |
tree | 60c8d671d8cf5b127a99904e28e2ccbca514ff26 /cpukit/librpc/src | |
parent | 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-9f4040a13b1849539679f71183c4118f015b6412.tar.bz2 |
Eliminate __P().
Diffstat (limited to 'cpukit/librpc/src')
-rw-r--r-- | cpukit/librpc/src/rpc/netnamer.c | 4 | ||||
-rw-r--r-- | cpukit/librpc/src/rpc/svc_udp.c | 4 | ||||
-rw-r--r-- | cpukit/librpc/src/xdr/xdr_rec.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/librpc/src/rpc/netnamer.c b/cpukit/librpc/src/rpc/netnamer.c index eac9913119..537464a383 100644 --- a/cpukit/librpc/src/rpc/netnamer.c +++ b/cpukit/librpc/src/rpc/netnamer.c @@ -57,8 +57,8 @@ static char *NETID = "netid.byname"; #endif static char *NETIDFILE = "/etc/netid"; -static int getnetid __P(( char *, char * )); -static int _getgroups __P(( char *, gid_t * )); +static int getnetid ( char *, char * ); +static int _getgroups ( char *, gid_t * ); #ifndef NGROUPS #define NGROUPS 16 diff --git a/cpukit/librpc/src/rpc/svc_udp.c b/cpukit/librpc/src/rpc/svc_udp.c index c25095bf33..f1cbed9eb7 100644 --- a/cpukit/librpc/src/rpc/svc_udp.c +++ b/cpukit/librpc/src/rpc/svc_udp.c @@ -58,8 +58,8 @@ static enum xprt_stat svcudp_stat(); static bool_t svcudp_getargs(); static bool_t svcudp_freeargs(); static void svcudp_destroy(); -static void cache_set __P((SVCXPRT *, u_long)); -static int cache_get __P((SVCXPRT *, struct rpc_msg *, char **, u_long *)); +static void cache_set (SVCXPRT *, u_long); +static int cache_get (SVCXPRT *, struct rpc_msg *, char **, u_long *); static struct xp_ops svcudp_op = { svcudp_recv, diff --git a/cpukit/librpc/src/xdr/xdr_rec.c b/cpukit/librpc/src/xdr/xdr_rec.c index 9ce73577b7..f5337a9df2 100644 --- a/cpukit/librpc/src/xdr/xdr_rec.c +++ b/cpukit/librpc/src/xdr/xdr_rec.c @@ -104,7 +104,7 @@ typedef struct rec_strm { /* * out-goung bits */ - int (*writeit) __P((caddr_t, caddr_t, int)); + int (*writeit) (caddr_t, caddr_t, int); caddr_t out_base; /* output buffer (points to frag header) */ caddr_t out_finger; /* next output position */ caddr_t out_boundry; /* data cannot up to this address */ @@ -113,7 +113,7 @@ typedef struct rec_strm { /* * in-coming bits */ - int (*readit) __P((caddr_t, caddr_t, int)); + int (*readit) (caddr_t, caddr_t, int); u_long in_size; /* fixed size of the input buffer */ caddr_t in_base; caddr_t in_finger; /* location of next byte to be had */ |