From c9cb5fa1bd10f99866f7c9ac9de5bd5f738c0fc1 Mon Sep 17 00:00:00 2001 From: Jason Monk Date: Wed, 31 Jan 2024 13:17:26 -0500 Subject: [PATCH] Fix formatting --- ksrpc-sockets/src/linuxX64Main/kotlin/TermiosUtil.linuxX64.kt | 2 +- ksrpc-sockets/src/macosX64Main/kotlin/TermiosUtil.macosX64.kt | 1 - ksrpc-sockets/src/nativeMain/kotlin/TermiosUtil.kt | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ksrpc-sockets/src/linuxX64Main/kotlin/TermiosUtil.linuxX64.kt b/ksrpc-sockets/src/linuxX64Main/kotlin/TermiosUtil.linuxX64.kt index 194df364..1f23b2e2 100644 --- a/ksrpc-sockets/src/linuxX64Main/kotlin/TermiosUtil.linuxX64.kt +++ b/ksrpc-sockets/src/linuxX64Main/kotlin/TermiosUtil.linuxX64.kt @@ -5,4 +5,4 @@ import platform.posix.termios actual fun termios.setICanon() { c_lflag = c_lflag and ICANON.inv().toUInt() -} \ No newline at end of file +} diff --git a/ksrpc-sockets/src/macosX64Main/kotlin/TermiosUtil.macosX64.kt b/ksrpc-sockets/src/macosX64Main/kotlin/TermiosUtil.macosX64.kt index da0c6c52..3c26480c 100644 --- a/ksrpc-sockets/src/macosX64Main/kotlin/TermiosUtil.macosX64.kt +++ b/ksrpc-sockets/src/macosX64Main/kotlin/TermiosUtil.macosX64.kt @@ -6,4 +6,3 @@ import platform.posix.termios actual fun termios.setICanon() { c_lflag = c_lflag and ICANON.inv().toULong() } - diff --git a/ksrpc-sockets/src/nativeMain/kotlin/TermiosUtil.kt b/ksrpc-sockets/src/nativeMain/kotlin/TermiosUtil.kt index b70953d2..e11589bf 100644 --- a/ksrpc-sockets/src/nativeMain/kotlin/TermiosUtil.kt +++ b/ksrpc-sockets/src/nativeMain/kotlin/TermiosUtil.kt @@ -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