xref: /openbmc/libpldm/src/environ/time.h (revision e78634b9c2b23d6bcbaf76b779a593df32816c84)
1*e78634b9SAmithash Prasad // SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
2*e78634b9SAmithash Prasad #ifndef LIBPLDM_ENVIRON_TIME_H
3*e78634b9SAmithash Prasad #define LIBPLDM_ENVIRON_TIME_H
4*e78634b9SAmithash Prasad #include <sys/time.h>
5*e78634b9SAmithash Prasad #include <time.h>
6*e78634b9SAmithash Prasad 
7*e78634b9SAmithash Prasad /** @brief Weak symbol wrapping clock_gettime() */
8*e78634b9SAmithash Prasad int libpldm_clock_gettime(clockid_t clockid, struct timespec *ts);
9*e78634b9SAmithash Prasad 
10*e78634b9SAmithash Prasad #endif
11