summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_time.h
diff options
context:
space:
mode:
authorpirofti <pirofti@openbsd.org>2013-05-10 10:31:16 +0000
committerpirofti <pirofti@openbsd.org>2013-05-10 10:31:16 +0000
commit2c2f69ab178ebda4550e37c4fc2147f22dfc6ae0 (patch)
tree77125e763f8c57e2b39f24e9c83786ea556844d2 /sys/compat/linux/linux_time.h
parentFlush the secondary cache when dumping. (diff)
downloadwireguard-openbsd-2c2f69ab178ebda4550e37c4fc2147f22dfc6ae0.tar.xz
wireguard-openbsd-2c2f69ab178ebda4550e37c4fc2147f22dfc6ae0.zip
compat_linux: Add support for future time_t and ino_t size enlargements.
Reviewed by guenther@.
Diffstat (limited to 'sys/compat/linux/linux_time.h')
-rw-r--r--sys/compat/linux/linux_time.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_time.h b/sys/compat/linux/linux_time.h
index 6293cc4b219..64ab0dda245 100644
--- a/sys/compat/linux/linux_time.h
+++ b/sys/compat/linux/linux_time.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_time.h,v 1.2 2011/07/05 18:56:40 pirofti Exp $ */
+/* $OpenBSD: linux_time.h,v 1.3 2013/05/10 10:31:16 pirofti Exp $ */
/*
* Copyright (c) 2011 Paul Irofti <pirofti@openbsd.org>
*
@@ -18,7 +18,7 @@
#ifndef _LINUX_TIME_H_
#define _LINUX_TIME_H_
-void native_to_linux_timespec(struct l_timespec *, struct timespec *);
+int native_to_linux_timespec(struct l_timespec *, struct timespec *);
void linux_to_native_timespec(struct timespec *, struct l_timespec *);
int linux_to_native_clockid(clockid_t *, clockid_t);