diff --git a/vlib/os/password_nix.c.v b/vlib/os/password_nix.c.v index dc9bbfaf6e..acd46cf7f7 100644 --- a/vlib/os/password_nix.c.v +++ b/vlib/os/password_nix.c.v @@ -13,7 +13,7 @@ mut: fn C.tcgetattr(fd int, ptr &C.termios) int -fn C.tcsetattr(fd int, action int, const_ptr &C.termios) +fn C.tcsetattr(fd int, action int, const_ptr &C.termios) int // input_password prompts the user for a password-like secret. It disables // the terminal echo during user input and resets it back to normal when done. diff --git a/vlib/term/term_nix.c.v b/vlib/term/term_nix.c.v index e04eb30cf8..60738625f2 100644 --- a/vlib/term/term_nix.c.v +++ b/vlib/term/term_nix.c.v @@ -15,7 +15,7 @@ pub: fn C.tcgetattr(fd int, ptr &C.termios) int -fn C.tcsetattr(fd int, action int, const_ptr &C.termios) +fn C.tcsetattr(fd int, action int, const_ptr &C.termios) int fn C.ioctl(fd int, request u64, arg voidptr) int