Stop sharing requirement_unit_state_ereq().
[freeciv.git] / common / workertask.c
blobd9389e8692e6701a8a1c0b610d638cb778d04175
1 /****************************************************************************
2 Freeciv - Copyright (C) 2004 - The Freeciv Team
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12 ****************************************************************************/
14 #ifdef HAVE_CONFIG_H
15 #include <fc_config.h>
16 #endif
18 /* utility */
19 #include "log.h"
21 /* common */
22 #include "city.h"
24 #include "workertask.h"
26 /*************************************************************************
27 Initialize empty worker_task.
28 *************************************************************************/
29 void worker_task_init(struct worker_task *ptask)
31 ptask->ptile = NULL;
32 ptask->want = 0;