Changeset 142025c in rtems for cpukit/librpc


Ignore:
Timestamp:
Aug 18, 2008, 7:22:23 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
fbc74c3
Parents:
891bd246
Message:

Add missing prototypes.

Location:
cpukit/librpc/src/rpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/librpc/src/rpc/clnt_tcp.c

    r891bd246 r142025c  
    6666#define MCALL_MSG_SIZE 24
    6767
    68 static int      readtcp();
    69 static int      writetcp();
     68static int      readtcp(char *, char*, int);
     69static int      writetcp(char *, char*, int);
    7070
    7171static enum clnt_stat   clnttcp_call(CLIENT *, u_long, xdrproc_t, caddr_t, xdrproc_t, caddr_t, struct timeval);
     
    490490static int
    491491readtcp(
    492         struct ct_data *ct,
    493         caddr_t buf,
     492        char *_ct,
     493        char *buf,
    494494        int len)
    495495{
     496        struct ct_data *ct = (struct ct_data*) _ct;
    496497        fd_set *fds, readfds;
    497498        struct timeval start, after, duration, delta, tmp, tv;
     
    565566static int
    566567writetcp(
    567         struct ct_data *ct,
    568         caddr_t buf,
     568        char *_ct,
     569        char *buf,
    569570        int len)
    570571{
     572        struct ct_data *ct = (struct ct_data *) _ct;
    571573        register int i, cnt;
    572574
  • cpukit/librpc/src/rpc/svc_tcp.c

    r891bd246 r142025c  
    8888};
    8989
    90 static int readtcp(), writetcp();
    91 static SVCXPRT *makefd_xprt();
     90static int readtcp(char *, char*, int), writetcp(char *, char*, int);
     91static SVCXPRT *makefd_xprt( int fd, u_int sendsize, u_int recvsize);
    9292
    9393struct tcp_rendezvous { /* kept in xprt->xp_p1 */
     
    326326static int
    327327readtcp(
    328         SVCXPRT *xprt,
    329         caddr_t buf,
     328        char *_xprt,
     329        char *buf,
    330330        int len)
    331331{
     332        SVCXPRT *xprt = (SVCXPRT*) _xprt;
    332333        register int sock = xprt->xp_sock;
    333334        struct timeval start, delta, tv;
     
    394395static int
    395396writetcp(
    396         SVCXPRT *xprt,
    397         caddr_t buf,
     397        char *_xprt,
     398        char *buf,
    398399        int len)
    399400{
     401        SVCXPRT *xprt = (SVCXPRT *) _xprt;
    400402        register int i, cnt;
    401403
Note: See TracChangeset for help on using the changeset viewer.