Ignore:
Timestamp:
Jul 11, 2003, 1:39:47 PM (22 years ago)
Author:
bird
Message:

#434: no function redefinitions. TCPCALL not _System.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/arpa/inet.h

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r353 r354  
    4444#endif
    4545
    46 
    47 #ifdef TCPV40HDRS
    48 /** @name tcpip40 function mappings.
    49  * @{ */
    50 #define inet_addr       tcpip40_inet_addr
    51 #define inet_lnaof      tcpip40_inet_lnaof
    52 #define inet_makeaddr   tcpip40_inet_makeaddr
    53 #define inet_netof      tcpip40_inet_netof
    54 #define inet_network    tcpip40_inet_network
    55 #define inet_ntoa       tcpip40_inet_ntoa
    56 /* @} */
     46#ifndef TCPCALL
     47#define TCPCALL _System
    5748#endif
    5849
     
    6455#include <sys/types.h>
    6556#include <sys/cdefs.h>
    66 int             _System inet_aton (const char *, struct in_addr *);
    67 char *          _System inet_neta (u_long, char *, size_t);
    68 char *          _System inet_net_ntop (int, const void *, int, char *, size_t);
    69 int             _System inet_net_pton (int, const char *, void *, size_t);
    70 int             _System inet_pton (int af, const char *src, void *dst);
    71 const char *    _System inet_ntop (int af, const void *src, char *dst, size_t s);
    72 u_int           _System inet_nsap_addr (const char *, u_char *, int maxlen);
    73 char *          _System inet_nsap_ntoa (int, const u_char *, char *ascii);
     57int             TCPCALL inet_aton (const char *, struct in_addr *);
     58char *          TCPCALL inet_neta (u_long, char *, size_t);
     59char *          TCPCALL inet_net_ntop (int, const void *, int, char *, size_t);
     60int             TCPCALL inet_net_pton (int, const char *, void *, size_t);
     61int             TCPCALL inet_pton (int af, const char *src, void *dst);
     62const char *    TCPCALL inet_ntop (int af, const void *src, char *dst, size_t s);
     63u_int           TCPCALL inet_nsap_addr (const char *, u_char *, int maxlen);
     64char *          TCPCALL inet_nsap_ntoa (int, const u_char *, char *ascii);
    7465#endif
    7566
    76 extern u_long   _System inet_addr(__const__ char*);
    77 extern u_long   _System inet_lnaof(struct in_addr);
    78 extern struct in_addr _System inet_makeaddr(u_long, u_long);
    79 extern u_long   _System inet_netof(struct in_addr);
    80 extern u_long   _System inet_network(__const__ char*);
    81 extern char*    _System inet_ntoa(struct in_addr);
     67extern u_long   TCPCALL inet_addr(__const__ char*);
     68extern u_long   TCPCALL inet_lnaof(struct in_addr);
     69extern struct in_addr TCPCALL inet_makeaddr(u_long, u_long);
     70extern u_long   TCPCALL inet_netof(struct in_addr);
     71extern u_long   TCPCALL inet_network(__const__ char*);
     72extern char*    TCPCALL inet_ntoa(struct in_addr);
    8273
    8374#if defined (__cplusplus)
Note: See TracChangeset for help on using the changeset viewer.