summaryrefslogtreecommitdiff
path: root/src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2022-04-29 16:28:39 -0600
committerAlan Somers <asomers@gmail.com>2022-05-05 08:05:07 -0600
commitfb965d37d0e80ee49ef7abbf8a1204c334737e95 (patch)
tree6083354299811ce67caec9aa4967c3145a136850 /src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs
parent5ac08840c2552155c0f7f443c06663e9ffcd2874 (diff)
downloadrust-libc-fb965d37d0e80ee49ef7abbf8a1204c334737e95.tar.gz
Enable aio_{read,write}v on FreeBSD
When I originally added these symbols, I put them in the freebsd13 module. But I needn't have, since they didn't change any existing symbols. Instead, as totally new symbols, they should've gone into the freebsd module. This way they can actually be used.
Diffstat (limited to 'src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs')
-rw-r--r--src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs b/src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs
index cc92b17501..ceca64dda2 100644
--- a/src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs
+++ b/src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs
@@ -469,8 +469,6 @@ pub const DOMAINSET_POLICY_INTERLEAVE: ::c_int = 4;
pub const MINCORE_SUPER: ::c_int = 0x20;
extern "C" {
- pub fn aio_readv(aiocbp: *mut ::aiocb) -> ::c_int;
- pub fn aio_writev(aiocbp: *mut ::aiocb) -> ::c_int;
pub fn setgrent();
pub fn mprotect(addr: *mut ::c_void, len: ::size_t, prot: ::c_int) -> ::c_int;
pub fn freelocale(loc: ::locale_t);