rename bits_time to bits_timespec for consistency
This commit is contained in:
@@ -3,7 +3,7 @@ sys_includes = ["sys/types.h", "sys/select.h"]
|
||||
include_guard = "_SYS_TIME_H"
|
||||
language = "C"
|
||||
after_includes = """
|
||||
#include <bits/time.h> // for timespec
|
||||
#include <bits/timespec.h> // for timespec
|
||||
|
||||
#define timeradd(x,y,res) (void) (\
|
||||
(res)->tv_sec = (x)->tv_sec + (y)->tv_sec + (((x)->tv_usec + (y)->tv_usec) / 1000000), \
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
use crate::{
|
||||
c_str::CStr,
|
||||
error::ResultExt,
|
||||
header::{bits_time::timespec, sys_select::timeval},
|
||||
header::{bits_timespec::timespec, sys_select::timeval},
|
||||
out::Out,
|
||||
platform::{
|
||||
Pal, PalSignal, Sys,
|
||||
|
||||
Reference in New Issue
Block a user