mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
core:sys/linux - fixed vet errors
This commit is contained in:
@@ -2559,7 +2559,7 @@ inotify_rm_watch :: proc "contextless" (fd: Fd, wd: Wd) -> (Errno) {
|
|||||||
// helper procedure to access the data within an `Inotify_Event`
|
// helper procedure to access the data within an `Inotify_Event`
|
||||||
// since Odin doesn't have an alternative to `__flexarr`
|
// since Odin doesn't have an alternative to `__flexarr`
|
||||||
inotify_event_name :: proc "contextless" (event: ^Inotify_Event) -> cstring {
|
inotify_event_name :: proc "contextless" (event: ^Inotify_Event) -> cstring {
|
||||||
return transmute(cstring)&event.name
|
return transmute(cstring)uintptr(&event.name)
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(flysand): migrate_pages
|
// TODO(flysand): migrate_pages
|
||||||
|
|||||||
@@ -348,7 +348,7 @@ Poll_Fd :: struct {
|
|||||||
revents: Fd_Poll_Events,
|
revents: Fd_Poll_Events,
|
||||||
}
|
}
|
||||||
|
|
||||||
Inotify_Init_Flags :: bit_set[Inotify_Init_Bits; i32];
|
Inotify_Init_Flags :: bit_set[Inotify_Init_Bits; i32]
|
||||||
|
|
||||||
Inotify_Event :: struct {
|
Inotify_Event :: struct {
|
||||||
wd: Wd,
|
wd: Wd,
|
||||||
|
|||||||
Reference in New Issue
Block a user