1 /* $NetBSD: compat_time.c,v 1.4 2013/10/04 21:07:37 christos Exp $ */
4 * Written by Jason R. Thorpe <thorpej@NetBSD.org>, October 21, 1997.
11 #define __LIBC12_SOURCE__
14 #include <compat/include/time.h>
15 #include <compat/sys/time.h>
18 __weak_alias(time
,_time
)
21 __warn_references(time
,
22 "warning: reference to compatibility time();"
23 " include <time.h> for correct reference")
25 #define timeval timeval50
26 #define time_t int32_t
28 #define gettimeofday __compat_gettimeofday