From 8d4face7bf8b0a34999c0bedff1f5a66cda43eed Mon Sep 17 00:00:00 2001 From: Erwin Janssen Date: Mon, 31 Oct 2016 21:16:18 +0100 Subject: [PATCH] Remove definition of _sys_time and _sys_times Both definitions are no longer used can be safely removed. --- ast_common.h.in | 8 -------- windows/include/FEATURE/sfio | 1 - windows/include/FEATURE/vmalloc | 3 --- windows/include/ast_common.h | 6 ------ 4 files changed, 18 deletions(-) diff --git a/ast_common.h.in b/ast_common.h.in index b01b356d1..db21e8b5b 100644 --- a/ast_common.h.in +++ b/ast_common.h.in @@ -15,14 +15,6 @@ # define hdr_stddef 1 #endif -#ifdef HAVE_SYS_TIME_H -# define _sys_time 1 -#endif - -#ifdef HAVE_SYS_TIMES_H -# define _sys_times 1 -#endif - #ifdef HAVE_SYS_SOCKET_H # define _sys_socket 1 #endif diff --git a/windows/include/FEATURE/sfio b/windows/include/FEATURE/sfio index 7fcefd1b3..6410c82a7 100644 --- a/windows/include/FEATURE/sfio +++ b/windows/include/FEATURE/sfio @@ -2,7 +2,6 @@ #ifndef _def_time_Sfio_f #define _def_time_Sfio_f 1 #define _sys_types 1 /* #include ok */ -#define _sys_time 1 /* #include ok */ #define _hdr_math 1 /* #include ok */ //#define _hdr_unistd 1 /* #include ok */ #define _lib_atexit 1 /* atexit() in default lib(s) */ diff --git a/windows/include/FEATURE/vmalloc b/windows/include/FEATURE/vmalloc index 101f07dce..d71d0f190 100644 --- a/windows/include/FEATURE/vmalloc +++ b/windows/include/FEATURE/vmalloc @@ -14,9 +14,6 @@ #undef _sys_stat #define _sys_stat 1 /* #include ok */ -#undef _sys_time -#define _sys_time 1 /* #include ok */ - #undef _hdr_stddef #define _hdr_stddef 1 /* #include ok */ diff --git a/windows/include/ast_common.h b/windows/include/ast_common.h index cb904af16..29bedfc4a 100644 --- a/windows/include/ast_common.h +++ b/windows/include/ast_common.h @@ -21,12 +21,6 @@ #undef _sys_types #define _sys_types 1 /* #include ok */ -#undef _sys_time -#define _sys_time 0 /* #include ok */ - -#undef _sys_times -#define _sys_times 0 /* #include ok */ - #undef _typ_ssize_t #define _typ_ssize_t 0 /* ssize_t is a type */ -- 2.40.0