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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user