diff options
author | Eli Zaretskii <eliz@gnu.org> | 2017-05-14 19:02:50 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-05-14 19:02:50 +0300 |
commit | 792ffa022380e05d49437e47823cfdf82337a253 (patch) | |
tree | d9c17fb890a9010c1c8ed8de0d52d1de160c8cd2 /nt/inc/sys/time.h | |
parent | 3af6909f3249dc8d74349f000117f7063f71adff (diff) | |
download | emacs-792ffa022380e05d49437e47823cfdf82337a253.tar.gz emacs-792ffa022380e05d49437e47823cfdf82337a253.tar.bz2 emacs-792ffa022380e05d49437e47823cfdf82337a253.zip |
Remove gettimeofday from w32 sources
* lib-src/ntlib.c (gettimeofday):
* nt/inc/sys/time.h (gettimeofday, struct timezone): Remove unused
function 'gettimeofday' and all of its supporting code.
Diffstat (limited to 'nt/inc/sys/time.h')
-rw-r--r-- | nt/inc/sys/time.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/nt/inc/sys/time.h b/nt/inc/sys/time.h index 88ea32bc808..de06c116ced 100644 --- a/nt/inc/sys/time.h +++ b/nt/inc/sys/time.h @@ -25,25 +25,6 @@ struct timeval #define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0 #endif /* _TIMEVAL_DEFINED */ -#ifndef _TIMEZONE_DEFINED -#define _TIMEZONE_DEFINED -struct timezone -{ - int tz_minuteswest; /* minutes west of Greenwich */ - int tz_dsttime; /* type of dst correction */ -}; -#endif - - -/* This needs to be compatible with Posix signature, in order to pass - the configure test for the type of the second argument; see - m4/gettimeofday.m4. We use '__restrict' here, rather than - 'restrict', for the benefit of the old nt/configure.bat build, - which does not force the use of -std= switch to GCC, and that - causes compilation errors with 'restrict', which is a C99 - extension. */ -int gettimeofday (struct timeval *__restrict, void *__restrict); - #define ITIMER_REAL 0 #define ITIMER_PROF 1 |