summary refs log tree commit diff stats
path: root/lib/posix/posix.nim
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2022-04-13 17:53:02 +0800
committerGitHub <noreply@github.com>2022-04-13 11:53:02 +0200
commit98cebad7debddfb147ee22bc6f3d81221582c4d6 (patch)
tree621a6f1c79778f155cbd803aac1f7468e8f0cd13 /lib/posix/posix.nim
parent26bcf18f918b2bcc7b6b2e230ae74d7726dca6d0 (diff)
downloadNim-98cebad7debddfb147ee22bc6f3d81221582c4d6.tar.gz
enable style:usages for stdlib tests [backport: 1.6] (#19715)
* enable style:usages for stdlib tests

* freeAddrInfo

* more tests

* importc

* bufSize

* fix more

* => parseSql and renderSql
Diffstat (limited to 'lib/posix/posix.nim')
-rw-r--r--lib/posix/posix.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim
index 9c65d0732..146ba886f 100644
--- a/lib/posix/posix.nim
+++ b/lib/posix/posix.nim
@@ -1016,7 +1016,7 @@ proc endhostent*() {.importc, header: "<netdb.h>".}
 proc endnetent*() {.importc, header: "<netdb.h>".}
 proc endprotoent*() {.importc, header: "<netdb.h>".}
 proc endservent*() {.importc, header: "<netdb.h>".}
-proc freeaddrinfo*(a1: ptr AddrInfo) {.importc, header: "<netdb.h>".}
+proc freeAddrInfo*(a1: ptr AddrInfo) {.importc: "freeaddrinfo", header: "<netdb.h>".}
 
 proc gai_strerror*(a1: cint): cstring {.importc:"(char *)$1", header: "<netdb.h>".}
 
-01-18 13:41:55 +0100 added system.onThreadCreation feature for safe thread local storage initializations' href='/ahoang/Nim/commit/tests/threads/tonthreadcreation.nim?h=devel&id=61937974e2a7fcf3ff6427510f793c4b580f1b62'>61937974e ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24