remove unnecessary imports (#24465)

ref https://github.com/nim-lang/Nim/issues/24272

(cherry picked from commit a788bae318)
This commit is contained in:
ringabout
2024-11-22 05:10:26 +08:00
committed by narimiran
parent 60a8eaaaa5
commit aa8d62f89c

View File

@@ -1,5 +1,3 @@
import system/ctypes
when defined(nimNoQuit):
proc rawQuit(errorcode: int = QuitSuccess) = discard "ignoring quit"
@@ -24,4 +22,4 @@ elif defined(js) and defined(nodejs) and not defined(nimscript):
else:
proc rawQuit(errorcode: cint) {.
magic: "Exit", importc: "exit", header: "<stdlib.h>", noreturn.}
magic: "Exit", importc: "exit", header: "<stdlib.h>", noreturn.}