mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
newlib: remove usage of pre-ANSI defines
This commit is contained in:
@@ -25,9 +25,9 @@ extern "C" {
|
||||
#define CLOCK_MONOTONIC (clockid_t)4
|
||||
#define CLOCK_BOOTTIME (clockid_t)4
|
||||
|
||||
int _EXFUN(clock_settime, (clockid_t clock_id, const struct timespec *tp));
|
||||
int _EXFUN(clock_gettime, (clockid_t clock_id, struct timespec *tp));
|
||||
int _EXFUN(clock_getres, (clockid_t clock_id, struct timespec *res));
|
||||
int clock_settime(clockid_t clock_id, const struct timespec *tp);
|
||||
int clock_gettime(clockid_t clock_id, struct timespec *tp);
|
||||
int clock_getres(clockid_t clock_id, struct timespec *res);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Reference in New Issue
Block a user