Message ID | 20210323105830.12017-1-lukma@denx.de |
---|---|
State | New |
Headers | show |
Series | fix: Always export ntp_gettimex function | expand |
On Mär 23 2021, Lukasz Majewski wrote:
> After this patch applied the ntp_gettimex function is always exported
s/exported/declared/
Andreas.
Hi Andreas, > On Mär 23 2021, Lukasz Majewski wrote: > > > After this patch applied the ntp_gettimex function is always > > exported > > s/exported/declared/ Corrected, thanks. > > Andreas. > Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
On 23/03/2021 08:24, Lukasz Majewski wrote: > Hi Andreas, > >> On Mär 23 2021, Lukasz Majewski wrote: >> >>> After this patch applied the ntp_gettimex function is always >>> exported >> >> s/exported/declared/ > > Corrected, thanks. > >> >> Andreas. >> > > > Best regards, > > Lukasz Majewski > LGTM with Andreas remark fixed.
diff --git a/sysdeps/unix/sysv/linux/sys/timex.h b/sysdeps/unix/sysv/linux/sys/timex.h index 37931ff496..eb8d15a806 100644 --- a/sysdeps/unix/sysv/linux/sys/timex.h +++ b/sysdeps/unix/sysv/linux/sys/timex.h @@ -56,12 +56,12 @@ __BEGIN_DECLS extern int __adjtimex (struct timex *__ntx) __THROW; extern int adjtimex (struct timex *__ntx) __THROW; +extern int ntp_gettimex (struct ntptimeval *__ntv) __THROW; #ifdef __REDIRECT_NTH extern int __REDIRECT_NTH (ntp_gettime, (struct ntptimeval *__ntv), ntp_gettimex); #else -extern int ntp_gettimex (struct ntptimeval *__ntv) __THROW; # define ntp_gettime ntp_gettimex #endif extern int ntp_adjtime (struct timex *__tntx) __THROW;