commit 3527d7f3e7c01001c520cb8d09fae16ddbde0296
parent f525f4e2abfdbaf74b09a4f6d19bc2ce7858e4b0
Author: Sebastian <sebastian@sebsite.pw>
Date: Sat, 9 Dec 2023 21:15:07 -0500
rt+linux: fix some types
Signed-off-by: Sebastian <sebastian@sebsite.pw>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rt/+linux/types.ha b/rt/+linux/types.ha
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
// (c) Hare authors <https://harelang.org>
-export type off_t = u64;
+export type off_t = i64;
export type dev_t = u64;
export type ino_t = u64;
export type nlink_t = u64;
@@ -13,7 +13,7 @@ export type time_t = i64;
export type suseconds_t = i64;
export type nfds_t = u64;
export type pid_t = int;
-export type timer_t = int;
+export type timer_t = *opaque;
export type clock_t = i64;
export type si_band_t = i64;
export type rlim_t = u64;