@@ -590,9 +590,6 @@ extern {
590
590
pub fn clock_gettime ( clk_id : :: uint64_t , tp : * mut :: timespec ) -> :: c_int ;
591
591
592
592
pub fn pthread_set_name_np ( tid : :: pthread_t , name : * const :: c_char ) ;
593
- #[ cfg( not( target_os = "dragonfly" ) ) ]
594
- pub fn posix_fallocate ( fd : :: c_int , offset : :: off_t ,
595
- len : :: off_t ) -> :: c_int ;
596
593
pub fn sched_setscheduler ( pid : :: pid_t , policy : :: c_int , param : * const sched_param ) -> :: c_int ;
597
594
pub fn sched_getscheduler ( pid : :: pid_t ) -> :: c_int ;
598
595
pub fn memrchr ( cx : * const :: c_void , c : :: c_int , n : :: size_t ) -> * mut :: c_void ;
@@ -603,14 +600,6 @@ extern {
603
600
hdtr : * mut :: sf_hdtr ,
604
601
sbytes : * mut :: off_t ,
605
602
flags : :: c_int ) -> :: c_int ;
606
-
607
- #[ cfg( not( target_os = "dragonfly" ) ) ]
608
- pub fn posix_fadvise ( fd : :: c_int , offset : :: off_t , len : :: off_t ,
609
- advise : :: c_int ) -> :: c_int ;
610
- #[ cfg( not( target_os = "dragonfly" ) ) ]
611
- pub fn mkostemp ( template : * mut :: c_char , flags : :: c_int ) -> :: c_int ;
612
- #[ cfg( not( target_os = "dragonfly" ) ) ]
613
- pub fn mkostemps ( template : * mut :: c_char , suffixlen : :: c_int , flags : :: c_int ) -> :: c_int ;
614
603
}
615
604
616
605
cfg_if ! {
0 commit comments