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/sys/time.h

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r353 r354  
    156156
    157157#if defined(TCPV40HDRS) || !defined(_POSIX_SOURCE)
    158 /** @name tcpip40 function mappings.
    159  * @{ */
    160 /* utimes, gettimeofday and settimeofday is EMX so no mapping is needed. */
    161 #define adjtime       tcpip40_adjtime
    162 #define getitimer     tcpip40_getitimer
    163 #define setitimer     tcpip40_setitimer
    164 /* @} */
    165158/* These are libc functions so no _System convention. */
    166159int     utimes (__const__ char *, __const__ struct timeval *);
    167160int     gettimeofday (struct timeval *, struct timezone *);
    168161int     settimeofday (__const__ struct timeval *, __const__ struct timezone *);
     162
    169163#ifndef TCPV40HDRS
    170164#include <sys/cdefs.h>
    171 int     _System adjtime(const struct timeval *, struct timeval *);
    172 int     _System getitimer(int, struct itimerval *);
    173 int     _System setitimer(int, const struct itimerval *, struct itimerval *);
     165
     166#ifndef TCPCALL
     167#define TCPCALL _System
     168#endif
     169
     170int     TCPCALL adjtime(const struct timeval *, struct timeval *);
     171int     TCPCALL getitimer(int, struct itimerval *);
     172int     TCPCALL setitimer(int, const struct itimerval *, struct itimerval *);
    174173#endif
    175174#endif /* TCPV40HDRS */
Note: See TracChangeset for help on using the changeset viewer.