[flang] Use object before converts in fir.dispatch (#68589)
[llvm-project.git] / libc / include / llvm-libc-types / struct_timespec.h
blob1fa6272d3df9247f5103528073bb9a87a2ba9236
1 //===-- Definition of struct timespec -------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef __LLVM_LIBC_TYPES_TIMESPEC_H__
10 #define __LLVM_LIBC_TYPES_TIMESPEC_H__
12 #include <llvm-libc-types/time_t.h>
14 struct timespec {
15 time_t tv_sec; /* Seconds. */
16 /* TODO: BIG_ENDIAN may require padding. */
17 long tv_nsec; /* Nanoseconds. */
20 #endif // __LLVM_LIBC_TYPES_TIMESPEC_H__