Skip to content

Commit

Permalink
fix readir_r link name for netbsd
Browse files Browse the repository at this point in the history
  • Loading branch information
laytan committed Aug 3, 2024
1 parent 6100823 commit 4dd846f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/os/os_netbsd.odin
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ foreign libc {
@(link_name="fdopendir") _unix_fdopendir :: proc(fd: Handle) -> Dir ---
@(link_name="closedir") _unix_closedir :: proc(dirp: Dir) -> c.int ---
@(link_name="rewinddir") _unix_rewinddir :: proc(dirp: Dir) ---
@(link_name="readdir_r") _unix_readdir_r :: proc(dirp: Dir, entry: ^Dirent, result: ^^Dirent) -> c.int ---
@(link_name="__readdir_r30") _unix_readdir_r :: proc(dirp: Dir, entry: ^Dirent, result: ^^Dirent) -> c.int ---

@(link_name="malloc") _unix_malloc :: proc(size: c.size_t) -> rawptr ---
@(link_name="calloc") _unix_calloc :: proc(num, size: c.size_t) -> rawptr ---
Expand Down

0 comments on commit 4dd846f

Please sign in to comment.