mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
fix: Always export ntp_gettimex function
After this patch applied the ntp_gettimex function is always declared in the sys/timex.h header. Currently it is not when __REDIRECT_NTH is defined (i.e. in ARM 32 bit port).
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user