xref: /openbsd-src/lib/libc/hidden/sys/time.h (revision d82e6535c6efd8305182f77041b2246ccfae1196)
1*d82e6535Spirofti /*	$OpenBSD: time.h,v 1.2 2020/07/06 13:33:06 pirofti Exp $	*/
215a0f535Sguenther /*
315a0f535Sguenther  * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
415a0f535Sguenther  *
515a0f535Sguenther  * Permission to use, copy, modify, and distribute this software for any
615a0f535Sguenther  * purpose with or without fee is hereby granted, provided that the above
715a0f535Sguenther  * copyright notice and this permission notice appear in all copies.
815a0f535Sguenther  *
915a0f535Sguenther  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1015a0f535Sguenther  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1115a0f535Sguenther  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1215a0f535Sguenther  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1315a0f535Sguenther  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1415a0f535Sguenther  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515a0f535Sguenther  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1615a0f535Sguenther  */
1715a0f535Sguenther 
1815a0f535Sguenther #ifndef _LIBC_SYS_TIME_H_
1915a0f535Sguenther #define _LIBC_SYS_TIME_H_
2015a0f535Sguenther 
2115a0f535Sguenther #include_next <sys/time.h>
2215a0f535Sguenther 
2315a0f535Sguenther PROTO_NORMAL(adjfreq);
2415a0f535Sguenther PROTO_NORMAL(adjtime);
2515a0f535Sguenther PROTO_NORMAL(futimes);
2615a0f535Sguenther PROTO_NORMAL(getitimer);
27*d82e6535Spirofti PROTO_WRAP(gettimeofday);
2815a0f535Sguenther PROTO_NORMAL(setitimer);
2915a0f535Sguenther PROTO_NORMAL(settimeofday);
3015a0f535Sguenther PROTO_NORMAL(utimes);
3115a0f535Sguenther 
3215a0f535Sguenther #endif /* !_LIBC_SYS_TIME_H_ */
33