aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 60adbb5bc6..531f953c9c 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -1054,8 +1054,10 @@ tor_timegm(struct tm *tm)
}
/* strftime is locale-specific, so we need to replace those parts */
+/* DOCDOC WEEKDAY_NAMES */
static const char *WEEKDAY_NAMES[] =
{ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
+/* DOCDOC MONTH_NAMES */
static const char *MONTH_NAMES[] =
{ "Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
@@ -1339,7 +1341,9 @@ update_approx_time(time_t now)
* have up to <b>ftime_slop</b> seconds of inaccuracy; IOW, our window of
* estimate for the current time is now + ftime_skew +/- ftime_slop.
*/
+/* DOCDOC ftime_skew */
static int ftime_skew = 0;
+/* DOCDOC ftime_slop */
static int ftime_slop = 60;
/** Set the largest amount of sloppiness we'll allow in fuzzy time
* comparisons. */