mirror of
https://github.com/opnsense/src.git
synced 2026-06-03 13:58:30 -04:00
LinuxKPI: add ns_to_timespec64()
Add ns_to_timespec64() which does not seem to require anything from us given timespec64 is aliases to timespec. Sponsored by: The FreeBSD Foundation MFC after: 10 days Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D40123
This commit is contained in:
parent
2e57f7bf20
commit
71fde8e507
1 changed files with 2 additions and 0 deletions
|
|
@ -121,6 +121,8 @@ ns_to_timespec(const int64_t nsec)
|
|||
return (ts);
|
||||
}
|
||||
|
||||
#define ns_to_timespec64(_x) ns_to_timespec(_x)
|
||||
|
||||
static inline int
|
||||
timespec_valid(const struct timespec *ts)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue