libc/settimeofday: correct prototype of settimeofday()

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an
2023-03-21 14:08:17 +08:00
committed by Alan Carvalho de Assis
parent 52525796ab
commit c839fc45af
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -212,7 +212,8 @@ int gettimeofday(FAR struct timeval *tv, FAR struct timezone *tz);
*
****************************************************************************/
int settimeofday(FAR const struct timeval *tv, FAR struct timezone *tz);
int settimeofday(FAR const struct timeval *tv,
FAR const struct timezone *tz);
/****************************************************************************
* Name: adjtime
+1 -1
View File
@@ -54,7 +54,7 @@
*
****************************************************************************/
int settimeofday(FAR const struct timeval *tv, FAR struct timezone *tz)
int settimeofday(FAR const struct timeval *tv, FAR const struct timezone *tz)
{
struct timespec ts;