/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2015, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2020, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure, Markus Armbruster
*
* Empire is free software: you can redistribute it and/or modify
* Markus Armbruster, 2007-2011
*/
-/* Required for strptime() */
-#define _XOPEN_SOURCE 500
-
#include <config.h>
#include <ctype.h>
/*
* Parse an update schedule directive from @line.
* Update @sched[] and @anchor accordingly.
- * @sched[] holds the first N-1 updates after @t0 in ascending order.
+ * @sched[] holds the first @n-1 updates after @t0 in ascending order.
* @fname and @lno file name and line number for reporting errors.
*/
static int
* Insert update at @t into @sched[].
* @sched[] holds the first @n-1 updates after @t0 in ascending order.
* If @t is before @t0 or outside game_days/game_hours, return -1.
- * If there's no space for @t in @sched[], return N-1.
+ * If there's no space for @t in @sched[], return @n-1.
* Else insert @t into @sched[] and return its index in @sched[].
*/
static int