cleanup the bits headers
This commit is contained in:
@@ -16,9 +16,7 @@ language = "C"
|
||||
style = "Tag"
|
||||
no_includes = true
|
||||
cpp_compat = true
|
||||
|
||||
[enum]
|
||||
prefix_with_name = true
|
||||
|
||||
[export]
|
||||
include = ["timeval"]
|
||||
[enum]
|
||||
prefix_with_name = true
|
||||
|
||||
@@ -10,6 +10,8 @@ use crate::platform::types::{suseconds_t, time_t};
|
||||
#[allow(non_camel_case_types)]
|
||||
#[derive(Default)]
|
||||
pub struct timeval {
|
||||
/// Seconds.
|
||||
pub tv_sec: time_t,
|
||||
/// Microseconds.
|
||||
pub tv_usec: suseconds_t,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user