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/unistd.h

    • Property cvs2svn:cvs-rev changed from 1.6 to 1.7
    r353 r354  
    226226
    227227/* Toolkit compatibility */
     228#ifndef TCPCALL
     229#define TCPCALL _System
     230#endif
     231
    228232#include <sys/cdefs.h>
    229233#include <sys/types.h>
    230 /** @name tcpip40 function mappings.
    231  * @{ */
    232 #define soclose         tcpip40_soclose
    233 #define gethostid       tcpip40_gethostid
    234 #define gethostname     tcpip40_gethostname
    235 #define iruserok        tcpip40_iruserok
    236 #define rcmd            tcpip40_rcmd
    237 #define rresvport       tcpip40_rresvport
    238 #define ruserok         tcpip40_ruserok
    239 /* @} */
    240 int     _System     soclose (int);
     234int     TCPCALL     soclose (int);
    241235#ifndef _POSIX_SOURCE
    242 int     _System     gethostid (void);
    243 int     _System     gethostname (char *, int);
    244 int     _System     iruserok (unsigned long, int, const char *, const char *);
    245 int     _System     rcmd (char **, int, const char *, const char *, const char *, int *);
    246 int     _System     rresvport (int *);
    247 int     _System     ruserok (const char *, int, const char *, const char *);
     236int     TCPCALL     gethostid (void);
     237int     TCPCALL     gethostname (char *, int);
     238#ifndef TCPV40HDRS
     239int     TCPCALL     iruserok (unsigned long, int, const char *, const char *);
     240int     TCPCALL     rcmd (char **, int, const char *, const char *, const char *, int *);
     241int     TCPCALL     rresvport (int *);
     242int     TCPCALL     ruserok (const char *, int, const char *, const char *);
    248243#include <sys/select.h>
     244#endif /* !TCP40HDRS */
    249245#endif /* !_POSIX_SOURCE */
    250246
Note: See TracChangeset for help on using the changeset viewer.