From a5ed5883c71282b2454e3e320fc7c8703b9fa952 Mon Sep 17 00:00:00 2001 From: Rickard Andersson Date: Wed, 14 Jun 2023 23:59:09 +0300 Subject: [PATCH] cleanup: more tabs --- core/os/os_linux.odin | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/core/os/os_linux.odin b/core/os/os_linux.odin index 3e5258af3..ff3ff700c 100644 --- a/core/os/os_linux.odin +++ b/core/os/os_linux.odin @@ -1099,17 +1099,17 @@ fcntl :: proc(fd: int, cmd: int, arg: int) -> (int, Errno) { } poll :: proc(fds: [^]pollfd, nfds: nfds_t, timeout: int) -> (int, Errno) { - result := unix.sys_poll(fds, uint(nfds), timeout) - if result < 0 { - return 0, _get_errno(result) - } - return result, ERROR_NONE + result := unix.sys_poll(fds, uint(nfds), timeout) + if result < 0 { + return 0, _get_errno(result) + } + return result, ERROR_NONE } ppoll :: proc(fds: [^]pollfd, nfds: nfds_t, timeout: ^unix.timespec, sigmask: ^sigset_t) -> (int, Errno) { - result := unix.sys_ppoll(fds, uint(nfds), timeout, sigmask, size_of(sigset_t)) - if result < 0 { - return 0, _get_errno(result) - } - return result, ERROR_NONE + result := unix.sys_ppoll(fds, uint(nfds), timeout, sigmask, size_of(sigset_t)) + if result < 0 { + return 0, _get_errno(result) + } + return result, ERROR_NONE }