Changeset c78ecb0 in rtems


Ignore:
Timestamp:
Aug 27, 2008, 11:13:59 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
2a620db
Parents:
5531513
Message:

Stop using old-style function-definitions.

Location:
cpukit/libnetworking/libc
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/libc/getproto.c

    r5531513 rc78ecb0  
    4545
    4646struct protoent *
    47 getprotobynumber(proto)
    48         register int proto;
     47getprotobynumber(
     48        int proto )
    4949{
    5050        register struct protoent *p;
  • cpukit/libnetworking/libc/getprotoent.c

    r5531513 rc78ecb0  
    5454
    5555void
    56 setprotoent(f)
    57         int f;
     56setprotoent(
     57        int f)
    5858{
    5959        if (protof == NULL)
     
    6565
    6666void
    67 endprotoent()
     67endprotoent(void)
    6868{
    6969        if (protof) {
     
    7575
    7676struct protoent *
    77 getprotoent()
     77getprotoent(void)
    7878{
    7979        char *p;
  • cpukit/libnetworking/libc/getprotoname.c

    r5531513 rc78ecb0  
    4646
    4747struct protoent *
    48 getprotobyname(name)
    49         register const char *name;
     48getprotobyname(
     49        const char *name)
    5050{
    5151        register struct protoent *p;
  • cpukit/libnetworking/libc/getservbyname.c

    r5531513 rc78ecb0  
    6363
    6464struct servent *
    65 getservbyname(name, proto)
    66         const char *name, *proto;
     65getservbyname(
     66        const char *name,
     67        const char *proto )
    6768{
    6869        register struct servent *p;
  • cpukit/libnetworking/libc/inet_makeaddr.c

    r5531513 rc78ecb0  
    4747 */
    4848struct in_addr
    49 inet_makeaddr(net, host)
    50         in_addr_t net, host;
     49inet_makeaddr(
     50        in_addr_t net,
     51        in_addr_t host )
    5152{
    5253        u_long addr;
  • cpukit/libnetworking/libc/recv.c

    r5531513 rc78ecb0  
    4444
    4545ssize_t
    46 recv(s, buf, len, flags)
    47         int s, flags;
    48         size_t len;
    49         void *buf;
     46recv(
     47        int s,
     48        void *buf,
     49        size_t len,
     50        int flags )
    5051{
    5152        return (recvfrom(s, buf, len, flags, NULL, 0));
  • cpukit/libnetworking/libc/send.c

    r5531513 rc78ecb0  
    4444
    4545ssize_t
    46 send(s, msg, len, flags)
    47         int s, flags;
    48         size_t len;
    49         const void *msg;
     46send(
     47        int s,
     48        const void *msg,
     49        size_t len,
     50        int flags )
    5051{
    5152        return (sendto(s, msg, len, flags, NULL, 0));
Note: See TracChangeset for help on using the changeset viewer.