Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-level committed Jan 31, 2024
1 parent cff4ec9 commit c9cb5fa
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ import platform.posix.termios

actual fun termios.setICanon() {
c_lflag = c_lflag and ICANON.inv().toUInt()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ import platform.posix.termios
actual fun termios.setICanon() {
c_lflag = c_lflag and ICANON.inv().toULong()
}

1 change: 0 additions & 1 deletion ksrpc-sockets/src/nativeMain/kotlin/TermiosUtil.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import kotlinx.cinterop.memScoped
import kotlinx.cinterop.pointed
import kotlinx.cinterop.ptr
import kotlinx.cinterop.sizeOf
import platform.posix.ICANON
import platform.posix.STDIN_FILENO
import platform.posix.TCSANOW
import platform.posix.memcpy
Expand Down

0 comments on commit c9cb5fa

Please sign in to comment.