mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
remove unnecessary imports (#24465)
ref https://github.com/nim-lang/Nim/issues/24272
(cherry picked from commit a788bae318)
This commit is contained in:
@@ -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.}
|
||||
|
||||
Reference in New Issue
Block a user