1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

net: use mut and refs as receivers consistently (#8205)

This commit is contained in:
Delyan Angelov
2021-01-20 12:11:01 +02:00
committed by GitHub
parent 158aefc37f
commit d92f5c55ba
15 changed files with 236 additions and 206 deletions

View File

@@ -9,7 +9,7 @@ module net
#include <netdb.h>
#include <errno.h>
#include <fcntl.h>
#flag solaris -lsocket
fn error_code() int {
return C.errno
}
@@ -24,5 +24,3 @@ pub const (
const (
error_ewouldblock = C.EWOULDBLOCK
)
#flag solaris -lsocket