diff options
author | Aleksey Kladov <[email protected]> | 2018-09-16 10:54:24 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-09-16 11:07:39 +0100 |
commit | b5021411a84822cb3f1e3aeffad9550dd15bdeb6 (patch) | |
tree | 9dca564f8e51b298dced01c4ce669c756dce3142 /crates/libsyntax2/tests/data/parser/ok/0031_extern.rs | |
parent | ba0bfeee12e19da40b5eabc8d0408639af10e96f (diff) |
rename all things
Diffstat (limited to 'crates/libsyntax2/tests/data/parser/ok/0031_extern.rs')
-rw-r--r-- | crates/libsyntax2/tests/data/parser/ok/0031_extern.rs | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/crates/libsyntax2/tests/data/parser/ok/0031_extern.rs b/crates/libsyntax2/tests/data/parser/ok/0031_extern.rs deleted file mode 100644 index b33ac273c..000000000 --- a/crates/libsyntax2/tests/data/parser/ok/0031_extern.rs +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | extern { | ||
2 | pub fn socket(domain: ::c_int, ty: ::c_int, protocol: ::c_int) -> ::c_int; | ||
3 | pub fn bind(fd: ::c_int, addr: *const sockaddr, len: socklen_t) -> ::c_int; | ||
4 | pub fn connect(socket: ::c_int, address: *const sockaddr, | ||
5 | len: socklen_t) -> ::c_int; | ||
6 | pub fn listen(socket: ::c_int, backlog: ::c_int) -> ::c_int; | ||
7 | pub fn getsockname(socket: ::c_int, address: *mut sockaddr, | ||
8 | address_len: *mut socklen_t) -> ::c_int; | ||
9 | pub fn getsockopt(sockfd: ::c_int, | ||
10 | level: ::c_int, | ||
11 | optname: ::c_int, | ||
12 | optval: *mut ::c_void, | ||
13 | optlen: *mut ::socklen_t) -> ::c_int; | ||
14 | pub fn setsockopt(socket: ::c_int, level: ::c_int, name: ::c_int, | ||
15 | value: *const ::c_void, | ||
16 | option_len: socklen_t) -> ::c_int; | ||
17 | pub fn getpeername(socket: ::c_int, address: *mut sockaddr, | ||
18 | address_len: *mut socklen_t) -> ::c_int; | ||
19 | pub fn sendto(socket: ::c_int, buf: *const ::c_void, len: ::size_t, | ||
20 | flags: ::c_int, addr: *const sockaddr, | ||
21 | addrlen: socklen_t) -> ::ssize_t; | ||
22 | pub fn send(socket: ::c_int, buf: *const ::c_void, len: ::size_t, | ||
23 | flags: ::c_int) -> ::ssize_t; | ||
24 | pub fn recvfrom(socket: ::c_int, buf: *mut ::c_void, len: ::size_t, | ||
25 | flags: ::c_int, addr: *mut ::sockaddr, | ||
26 | addrlen: *mut ::socklen_t) -> ::ssize_t; | ||
27 | pub fn recv(socket: ::c_int, buf: *mut ::c_void, len: ::size_t, | ||
28 | flags: ::c_int) -> ::ssize_t; | ||
29 | } | ||