Skip to content

Commit

Permalink
remove unnecessary imports (#24465)
Browse files Browse the repository at this point in the history
ref #24272
  • Loading branch information
ringabout authored Nov 21, 2024
1 parent 3eddb64 commit a788bae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/system/rawquits.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import system/ctypes

when defined(nimNoQuit):
proc rawQuit(errorcode: int = QuitSuccess) = discard "ignoring quit"

Expand All @@ -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.}

0 comments on commit a788bae

Please sign in to comment.