Changeset a0a03de2 in rtems


Ignore:
Timestamp:
May 9, 2005, 12:42:30 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
64d29bcf
Parents:
1ed739c
Message:

Ansify, socklen_t.

File:
1 edited

Legend:

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

    r1ed739c ra0a03de2  
    3636 */
    3737
    38 static const char *inet_ntop4 __P((const u_char *src, char *dst, size_t size));
    39 static const char *inet_ntop6 __P((const u_char *src, char *dst, size_t size));
     38static const char *inet_ntop4(const u_char *src, char *dst, socklen_t size);
     39static const char *inet_ntop6(const u_char *src, char *dst, socklen_t size);
    4040
    4141/* char *
     
    5252        const void *src;
    5353        char *dst;
    54         size_t size;
     54        socklen_t size;
    5555{
    5656        switch (af) {
     
    8181        const u_char *src;
    8282        char *dst;
    83         size_t size;
     83        socklen_t size;
    8484{
    8585        static const char fmt[] = "%u.%u.%u.%u";
     
    104104        const u_char *src;
    105105        char *dst;
    106         size_t size;
     106        socklen_t size;
    107107{
    108108        /*
Note: See TracChangeset for help on using the changeset viewer.