Skip to content

Commit aecdfb0

Browse files
committed
x.net: fix C fn redeclaration of C.inet_ntop (prevented compiling x.net and net together)
1 parent 204fd8b commit aecdfb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vlib/x/net/aasocket.c.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ fn C.shutdown() int
7575

7676
fn C.ntohs() int
7777

78-
fn C.inet_ntop() int
78+
fn C.inet_ntop(af int, src voidptr, dst charptr, dst_size int) charptr
7979

8080
fn C.WSAStringToAddress() int
8181

0 commit comments

Comments
 (0)