lib: posix: fix ARG_UNUSED check on clock_getrtc
The ARG_UNUSED should be on tz, not tv Signed-off-by: Julien D'Ascenzio <julien.dascenzio@paratronic.fr>
This commit is contained in:
parent
2c6c855e42
commit
1128c65ab0
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ int gettimeofday(struct timeval *tv, const void *tz)
|
|||
|
||||
/* As per POSIX, "if tzp is not a null pointer, the behavior
|
||||
* is unspecified." "tzp" is the "tz" parameter above. */
|
||||
ARG_UNUSED(tv);
|
||||
ARG_UNUSED(tz);
|
||||
|
||||
res = clock_gettime(CLOCK_REALTIME, &ts);
|
||||
tv->tv_sec = ts.tv_sec;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue