Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 756316
Collapse All | Expand All

(-)glibc-2.32_old/sysdeps/unix/sysv/linux/adjtime.c (-3 / +10 lines)
Lines 68-78 Link Here
68
int
68
int
69
__adjtime (const struct timeval *itv, struct timeval *otv)
69
__adjtime (const struct timeval *itv, struct timeval *otv)
70
{
70
{
71
  struct __timeval64 itv64, otv64;
71
  struct __timeval64 itv64, otv64, *pitv64;
72
  int retval;
72
  int retval;
73
73
74
  itv64 = valid_timeval_to_timeval64 (*itv);
74
  if (itv)
75
  retval = __adjtime64 (&itv64, otv != NULL ? &otv64 : NULL);
75
    {
76
      itv64 = valid_timeval_to_timeval64 (*itv);
77
      pitv64 = &itv64;
78
    }
79
  else
80
    pitv64 =  NULL;
81
82
  retval = __adjtime64 (pitv64, otv != NULL ? &otv64 : NULL);
76
  if (otv != NULL)
83
  if (otv != NULL)
77
    *otv = valid_timeval64_to_timeval (otv64);
84
    *otv = valid_timeval64_to_timeval (otv64);
78
85

Return to bug 756316