File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
include/os/freebsd/spl/sys Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 22
22
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23
23
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24
24
* SUCH DAMAGE.
25
- *
26
- * $FreeBSD$
27
25
*/
28
26
29
27
#ifndef _OPENSOLARIS_SYS_TIME_H_
@@ -91,6 +89,6 @@ gethrtime(void)
91
89
{
92
90
struct timespec ts ;
93
91
clock_gettime (CLOCK_UPTIME , & ts );
94
- return (((u_int64_t )ts .tv_sec ) * NANOSEC + ts .tv_nsec );
92
+ return (((uint64_t )ts .tv_sec ) * NANOSEC + ts .tv_nsec );
95
93
}
96
94
#endif /* !_OPENSOLARIS_SYS_TIME_H_ */
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ gethrtime(void)
101
101
{
102
102
struct timespec ts ;
103
103
(void ) clock_gettime (CLOCK_MONOTONIC , & ts );
104
- return ((((u_int64_t )ts .tv_sec ) * NANOSEC ) + ts .tv_nsec );
104
+ return ((((uint64_t )ts .tv_sec ) * NANOSEC ) + ts .tv_nsec );
105
105
}
106
106
107
107
#endif /* _LIBSPL_SYS_TIME_H */
You can’t perform that action at this time.
0 commit comments