hautils

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 394ddc08a8d6f1e3549843c66802418a2c964a1f
parent 8aab07cc3ae68b6c8c4b464cf6100725622d8d35
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri,  4 Mar 2022 12:09:03 +0100

main: correct error type in utilmain prototype

Diffstat:
Mmain/main.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/main.ha b/main/main.ha @@ -5,7 +5,7 @@ use os::exec; export type error = !(io::error | fs::error | exec::error); -@symbol("utilmain") fn utilmain() (main::error | void); +@symbol("utilmain") fn utilmain() (error | void); // Shared main function for all utilities, to simplify error handling. export @symbol("main") fn main() void = {