File tree Expand file tree Collapse file tree 4 files changed +7
-24
lines changed
Expand file tree Collapse file tree 4 files changed +7
-24
lines changed Original file line number Diff line number Diff line change @@ -2417,6 +2417,7 @@ fn test_freebsd(target: &str) {
24172417 // the struct "__kvm" is quite tricky to bind so since we only use a pointer to it
24182418 // for now, it doesn't matter too much...
24192419 "kvm_t" => true ,
2420+ "eventfd_t" if Some ( 13 ) > freebsd_ver => true ,
24202421
24212422 _ => false ,
24222423 }
Original file line number Diff line number Diff line change @@ -5385,14 +5385,8 @@ extern "C" {
53855385 pub fn setaudit ( auditinfo : * const auditinfo_t ) -> :: c_int ;
53865386
53875387 pub fn eventfd ( init : :: c_uint , flags : :: c_int ) -> :: c_int ;
5388- pub fn eventfd_read (
5389- fd : :: c_int ,
5390- value : * mut eventfd_t ,
5391- ) -> :: c_int ;
5392- pub fn eventfd_write (
5393- fd : :: c_int ,
5394- value : eventfd_t ,
5395- ) -> :: c_int ;
5388+ pub fn eventfd_read ( fd : :: c_int , value : * mut eventfd_t ) -> :: c_int ;
5389+ pub fn eventfd_write ( fd : :: c_int , value : eventfd_t ) -> :: c_int ;
53965390
53975391 pub fn fdatasync ( fd : :: c_int ) -> :: c_int ;
53985392
Original file line number Diff line number Diff line change @@ -3568,14 +3568,8 @@ extern "C" {
35683568 flags : :: c_uint ,
35693569 ) -> :: ssize_t ;
35703570 pub fn eventfd ( init : :: c_uint , flags : :: c_int ) -> :: c_int ;
3571- pub fn eventfd_read (
3572- fd : :: c_int ,
3573- value : * mut eventfd_t ,
3574- ) -> :: c_int ;
3575- pub fn eventfd_write (
3576- fd : :: c_int ,
3577- value : eventfd_t ,
3578- ) -> :: c_int ;
3571+ pub fn eventfd_read ( fd : :: c_int , value : * mut eventfd_t ) -> :: c_int ;
3572+ pub fn eventfd_write ( fd : :: c_int , value : eventfd_t ) -> :: c_int ;
35793573 pub fn sched_rr_get_interval ( pid : :: pid_t , tp : * mut :: timespec ) -> :: c_int ;
35803574 pub fn sem_timedwait ( sem : * mut sem_t , abstime : * const :: timespec ) -> :: c_int ;
35813575 pub fn sem_getvalue ( sem : * mut sem_t , sval : * mut :: c_int ) -> :: c_int ;
Original file line number Diff line number Diff line change @@ -4807,14 +4807,8 @@ extern "C" {
48074807 flags : :: c_uint ,
48084808 ) -> :: ssize_t ;
48094809 pub fn eventfd ( init : :: c_uint , flags : :: c_int ) -> :: c_int ;
4810- pub fn eventfd_read (
4811- fd : :: c_int ,
4812- value : * mut eventfd_t ,
4813- ) -> :: c_int ;
4814- pub fn eventfd_write (
4815- fd : :: c_int ,
4816- value : eventfd_t ,
4817- ) -> :: c_int ;
4810+ pub fn eventfd_read ( fd : :: c_int , value : * mut eventfd_t ) -> :: c_int ;
4811+ pub fn eventfd_write ( fd : :: c_int , value : eventfd_t ) -> :: c_int ;
48184812
48194813 pub fn sched_rr_get_interval ( pid : :: pid_t , tp : * mut :: timespec ) -> :: c_int ;
48204814 pub fn sem_timedwait ( sem : * mut sem_t , abstime : * const :: timespec ) -> :: c_int ;
You can’t perform that action at this time.
0 commit comments