@@ -1533,13 +1533,8 @@ fn test_freebsd(target: &str) {
1533
1533
cfg. type_name ( move |ty, is_struct, is_union| {
1534
1534
match ty {
1535
1535
// Just pass all these through, no need for a "struct" prefix
1536
- // FIXME: still required?
1537
- "FILE" | "fd_set" | "Dl_info" | "DIR" | "Elf32_Phdr"
1538
- | "Elf64_Phdr" | "Elf32_Shdr" | "Elf64_Shdr" | "Elf32_Sym"
1539
- | "Elf64_Sym" | "Elf32_Ehdr" | "Elf64_Ehdr" | "Elf32_Chdr"
1540
- | "Elf64_Chdr" => ty. to_string ( ) ,
1536
+ "FILE" | "fd_set" | "Dl_info" | "DIR" => ty. to_string ( ) ,
1541
1537
1542
- // FIXME: still required?
1543
1538
"sighandler_t" => "sig_t" . to_string ( ) ,
1544
1539
1545
1540
t if is_union => format ! ( "union {}" , t) ,
@@ -1560,18 +1555,7 @@ fn test_freebsd(target: &str) {
1560
1555
s if s. ends_with ( "_nsec" ) && struct_. starts_with ( "stat" ) => {
1561
1556
s. replace ( "e_nsec" , ".tv_nsec" )
1562
1557
}
1563
- // FIXME: still required?
1564
- "u64" if struct_ == "epoll_event" => "data.u64" . to_string ( ) ,
1565
- // FIXME: still required?
1566
- "type_"
1567
- if struct_ == "input_event"
1568
- || struct_ == "input_mask"
1569
- || struct_ == "ff_effect"
1570
- || struct_ == "rtprio" =>
1571
- {
1572
- "type" . to_string ( )
1573
- }
1574
- s => s. to_string ( ) ,
1558
+ s => s. to_string ( ) ,
1575
1559
}
1576
1560
} ) ;
1577
1561
@@ -1591,11 +1575,6 @@ fn test_freebsd(target: &str) {
1591
1575
// FIXME: still required?
1592
1576
"sigval" => true ,
1593
1577
1594
- // These are tested as part of the linux_fcntl tests since there are
1595
- // header conflicts when including them with all the other structs.
1596
- // FIXME: still required?
1597
- "termios2" => true ,
1598
-
1599
1578
_ => false ,
1600
1579
}
1601
1580
} ) ;
0 commit comments