From 8dc043ba2c6611946bfd77073ba6073935382979 Mon Sep 17 00:00:00 2001 From: Subhomoy Haldar Date: Sat, 14 Aug 2021 19:49:27 +0530 Subject: [PATCH] builtin: fix minor C fn definitions (#11180) --- vlib/builtin/cfns.c.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/builtin/cfns.c.v b/vlib/builtin/cfns.c.v index 94a239325a..a45686dcff 100644 --- a/vlib/builtin/cfns.c.v +++ b/vlib/builtin/cfns.c.v @@ -21,7 +21,7 @@ fn C.free(ptr voidptr) [noreturn; trusted] fn C.exit(code int) -fn C.qsort(base voidptr, items size_t, item_size size_t, cb qsort_callback_func) +fn C.qsort(base voidptr, items size_t, item_size size_t, cb C.qsort_callback_func) fn C.sprintf(a ...voidptr) int @@ -242,7 +242,7 @@ fn C.RegOpenKeyExW(hKey voidptr, lpSubKey &u16, ulOptions u32, samDesired u32, p fn C.RegSetValueEx() voidptr -fn C.RegSetValueExW(hKey voidptr, lpValueName &u16, Reserved u32, dwType u32, lpData &byte, lpcbData u32) int +fn C.RegSetValueExW(hKey voidptr, lpValueName &u16, reserved u32, dwType u32, lpData &byte, lpcbData u32) int fn C.RegCloseKey(hKey voidptr)