Changeset dbd2c7d in rtems


Ignore:
Timestamp:
Mar 29, 2007, 8:39:21 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
0f0318e
Parents:
9bea3c95
Message:

2007-03-29 Ralf Corsépius <ralf.corsepius@…>

  • libnetworking/libc/rcmd.c: Eliminate P(). Cosmetics.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r9bea3c95 rdbd2c7d  
    112007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
    34        * libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
    45        * libnetworking/netinet/ip_output.c: Preps to eliminate _IP_VHL
  • cpukit/libnetworking/libc/rcmd.c

    r9bea3c95 rdbd2c7d  
    5454#include <ctype.h>
    5555#include <string.h>
     56#include <rpc/rpc.h>
    5657#ifdef YP
    57 #include <rpc/rpc.h>
    5858#include <rpcsvc/yp_prot.h>
    5959#include <rpcsvc/ypclnt.h>
    6060#endif
    6161
    62 #include <sys/select.h>
    63 
     62#ifndef __rtems__
     63extern int innetgr( const char *, const char *, const char *, const char * );
     64#endif
    6465
    6566#define max(a, b)       ((a > b) ? a : b)
     
    7071#define bcmp                    memcmp
    7172#define bcopy(s,d,i)    memcpy(d,s,i)
    72 int bindresvport(int, struct sockaddr_in *);
    7373#else /* __rtems__ */
    7474
    75 extern int innetgr __P(( const char *, const char *, const char *, const char * ));
    76 
    77 int     __ivaliduser __P((FILE *, u_long, const char *, const char *));
    78 static int __icheckhost __P((u_long, char *));
     75int __ivaliduser(FILE *, u_int32_t, const char *, const char *);
     76static int __icheckhost(const struct sockaddr *, socklen_t, const char *);
    7977
    8078#endif
Note: See TracChangeset for help on using the changeset viewer.