From bf7a7f9b73a1e9f93b1f05051c007f689438e011 Mon Sep 17 00:00:00 2001 From: cheatfate Date: Tue, 25 Jun 2019 11:27:38 +0300 Subject: [PATCH] Fix #23. --- libp2p/daemon/daemonapi.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libp2p/daemon/daemonapi.nim b/libp2p/daemon/daemonapi.nim index 074c1912f..d5ebb580c 100644 --- a/libp2p/daemon/daemonapi.nim +++ b/libp2p/daemon/daemonapi.nim @@ -527,8 +527,8 @@ when not defined(windows): proc getProcessId(): int = result = posix.getpid() else: - proc getCurrentProcessId*(): uint32 {.stdcall, dynlib: "kernel32", - importc: "GetCurrentProcessId".} + proc getCurrentProcessId(): uint32 {.stdcall, dynlib: "kernel32", + importc: "GetCurrentProcessId".} proc loggingHandler(api: DaemonAPI): Future[void] = # Not ready yet.