From 43cba52ed8a9c5911b8aac5cc81f225a0aa768fe Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 15 Jul 2019 12:03:21 +0200 Subject: [PATCH] styleCheck fixes [bugfix] (cherry picked from commit ad67a46e5ddcf260281b13b79bf50afa779b234d) --- lib/posix/posix_nintendoswitch.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/posix/posix_nintendoswitch.nim b/lib/posix/posix_nintendoswitch.nim index 892ea33701..ae0f2dcdf9 100644 --- a/lib/posix/posix_nintendoswitch.nim +++ b/lib/posix/posix_nintendoswitch.nim @@ -17,7 +17,7 @@ type DIR* {.importc: "DIR", header: "", incompleteStruct.} = object -const SIG_HOLD* = cast[SigHandler](2) +const SIG_HOLD* = cast[Sighandler](2) type SocketHandle* = distinct cint # The type used to represent socket descriptors @@ -218,7 +218,7 @@ type st_blocks*: Blkcnt ## Number of blocks allocated for this object. reserved: array[2, clong] - + Statvfs* {.importc: "struct statvfs", header: "", final, pure.} = object ## struct statvfs