Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kbkpbot committed Jan 29, 2025
1 parent 5db0123 commit de6e7c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion vlib/builtin/cfns.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ fn C.isatty(fd int) int
fn C.syscall(number int, va ...voidptr) int

fn C.sysctl(name &int, namelen u32, oldp voidptr, oldlenp voidptr, newp voidptr, newlen usize) int
fn C.sysctlnametomib(name charptr, mib &int, len &usize) int

@[trusted]
fn C._fileno(int) int
Expand Down
2 changes: 2 additions & 0 deletions vlib/runtime/free_memory_impl_freebsd.c.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module runtime

fn C.sysctlnametomib(name charptr, mib &int, len &usize) int

fn free_memory_impl() usize {
$if cross ? {
return 1
Expand Down

0 comments on commit de6e7c2

Please sign in to comment.