aboutsummaryrefslogtreecommitdiff
path: root/src/main.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.nim')
-rw-r--r--src/main.nim4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main.nim b/src/main.nim
index 685b9d3..045b44e 100644
--- a/src/main.nim
+++ b/src/main.nim
@@ -193,11 +193,7 @@ proc handleVersion(): int =
echo(' '.repeat(23), "Copyright (C) ", copyright)
pacmanExec(false, false, ("V", none(string), ArgumentType.short))
-proc signal(sign: cint, handler: pointer): pointer
- {.importc, header: "<signal.h>".}
-
discard setlocale(LC_ALL, "")
-discard signal(SIGINT, cast[pointer](SIG_DFL))
template withErrorHandler(propColor: Option[bool], T: typedesc, body: untyped):
tuple[success: Option[T], code: int] =