Changeset e386ad72 in rtems


Ignore:
Timestamp:
Aug 1, 2008, 5:07:41 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
175b9f17
Parents:
4ad63f5
Message:

Add missing prototypes.

Location:
cpukit/libnetworking
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/lib/ftpfs.c

    r4ad63f5 re386ad72  
    199199 */
    200200
    201 int rtems_bsdnet_initialize_ftp_filesystem ()
     201int rtems_bsdnet_initialize_ftp_filesystem (void)
    202202{
    203203 int                                   status;
  • cpukit/libnetworking/libc/rcmd.c

    r4ad63f5 re386ad72  
    6767
    6868#ifdef __rtems__
    69 int rresvport();
     69int rresvport(int *alport);
    7070#define bzero(a,s)              memset((a),0,(s))
    7171#define bcmp                    memcmp
     
    7979
    8080int
    81 rcmd(ahost, rport, locuser, remuser, cmd, fd2p)
    82         char **ahost;
    83         u_short rport;
    84         const char *locuser, *remuser, *cmd;
    85         int *fd2p;
     81rcmd(
     82        char **ahost,
     83        u_short rport,
     84        const char *locuser,
     85        const char *remuser,
     86        const char *cmd,
     87        int *fd2p )
    8688{
    8789        struct hostent *hp;
     
    257259
    258260int
    259 rresvport(alport)
    260         int *alport;
     261rresvport(int *alport )
    261262{
    262263        struct sockaddr_in sin;
  • cpukit/libnetworking/netinet/in_cksum_m68k.h

    r4ad63f5 re386ad72  
    5353 */
    5454int
    55 in_cksum(m, len)
    56         struct mbuf *m;
    57         int len;
     55in_cksum( struct mbuf *m,
     56        int len )
    5857{
    5958        unsigned short *w;
  • cpukit/libnetworking/netinet/ip_divert.c

    r4ad63f5 re386ad72  
    265265/*ARGSUSED*/
    266266int
    267 div_usrreq(so, req, m, nam, control)
    268         register struct socket *so;
    269         int req;
    270         struct mbuf *m, *nam, *control;
     267div_usrreq(
     268        struct socket *so,
     269        int req,
     270        struct mbuf *m,
     271        struct mbuf *nam,
     272        struct mbuf *control )
    271273{
    272274        register int error = 0;
  • cpukit/libnetworking/rtems/ftpfs.h

    r4ad63f5 re386ad72  
    3131
    3232  /* create mount point and mount ftp file system */
    33   int rtems_bsdnet_initialize_ftp_filesystem () ;
     33extern int rtems_bsdnet_initialize_ftp_filesystem (void);
    3434
    3535  /* FTP File sysem operations table. */
    36   extern rtems_filesystem_operations_table rtems_ftp_ops;
     36extern rtems_filesystem_operations_table rtems_ftp_ops;
    3737
    3838#ifdef __cplusplus
  • cpukit/libnetworking/rtems/mkrootfs.c

    r4ad63f5 re386ad72  
    299299
    300300int
    301 rtems_create_root_fs ()
     301rtems_create_root_fs (void)
    302302{
    303303  const char *lines[1];
  • cpukit/libnetworking/rtems/mkrootfs.h

    r4ad63f5 re386ad72  
    6565
    6666int
    67 rtems_create_root_fs ();
     67rtems_create_root_fs ( void );
    6868
    6969#ifdef __cplusplus
  • cpukit/libnetworking/rtems/rtems_showroute.c

    r4ad63f5 re386ad72  
    8989 */
    9090static int
    91 show_inet_route (rn, vw)
    92         struct radix_node *rn;
    93         void *vw;
     91show_inet_route (
     92        struct radix_node *rn,
     93        void *vw )
    9494{
    9595        struct rtentry *rt = (struct rtentry *)rn;
Note: See TracChangeset for help on using the changeset viewer.