View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -35,7 +35,7 @@ extern int __pmConnectWithFNDELAY(int, void *, __pmSockLen) _PCP_HIDDEN;
extern int __pmPtrToHandle(__pmContext *) _PCP_HIDDEN;
-extern int __pmGlibGetDate (struct timespec *, char const *, struct timespec const *) _PCP_HIDDEN;
+extern int __pmGetDate(struct timespec *, char const *, struct timespec const *) _PCP_HIDDEN;
#ifdef HAVE_NETWORK_BYTEORDER
/*
View
@@ -542,7 +542,7 @@ glib_relative_date(const char *date_string)
}
/*
- * Helper interface to wrap calls to the __pmGlibGetDate interface
+ * Helper interface to wrap calls to the __pmGetDate interface
*/
static int
glib_get_date(
@@ -558,18 +558,18 @@ glib_get_date(
rel_type = glib_relative_date(scan);
if (rel_type == NO_OFFSET)
- sts = __pmGlibGetDate(&tsrslt, scan, NULL);
+ sts = __pmGetDate(&tsrslt, scan, NULL);
else if (rel_type == NEG_OFFSET && end->tv_sec < INT_MAX) {
struct timespec tsend;
tsend.tv_sec = end->tv_sec;
tsend.tv_nsec = end->tv_usec * 1000;
- sts = __pmGlibGetDate(&tsrslt, scan, &tsend);
+ sts = __pmGetDate(&tsrslt, scan, &tsend);
}
else {
struct timespec tsstart;
tsstart.tv_sec = start->tv_sec;
tsstart.tv_nsec = start->tv_usec * 1000;
- sts = __pmGlibGetDate(&tsrslt, scan, &tsstart);
+ sts = __pmGetDate(&tsrslt, scan, &tsstart);
}
if (sts < 0)
return sts;