mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 16:15:27 +00:00
#ifdef HAVE_LIBXML2 statenames declaration
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: task.c,v 1.99 2007/01/04 00:01:13 marka Exp $ */
|
/* $Id: task.c,v 1.100 2007/01/05 07:24:51 marka Exp $ */
|
||||||
|
|
||||||
/*! \file
|
/*! \file
|
||||||
* \author Principal Author: Bob Halley
|
* \author Principal Author: Bob Halley
|
||||||
@@ -67,9 +67,11 @@ typedef enum {
|
|||||||
task_state_done
|
task_state_done
|
||||||
} task_state_t;
|
} task_state_t;
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBXML2
|
||||||
static const char *statenames[] = {
|
static const char *statenames[] = {
|
||||||
"idle", "ready", "running", "done",
|
"idle", "ready", "running", "done",
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
#define TASK_MAGIC ISC_MAGIC('T', 'A', 'S', 'K')
|
#define TASK_MAGIC ISC_MAGIC('T', 'A', 'S', 'K')
|
||||||
#define VALID_TASK(t) ISC_MAGIC_VALID(t, TASK_MAGIC)
|
#define VALID_TASK(t) ISC_MAGIC_VALID(t, TASK_MAGIC)
|
||||||
|
Reference in New Issue
Block a user