From: Mark Andrews Date: Fri, 5 Jan 2007 07:24:51 +0000 (+0000) Subject: #ifdef HAVE_LIBXML2 statenames declaration X-Git-Tag: v9.5.0a2~162 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=ca48338b3d6175e22ecbd318f02b63f9db6e5f79;p=thirdparty%2Fbind9.git #ifdef HAVE_LIBXML2 statenames declaration --- diff --git a/lib/isc/task.c b/lib/isc/task.c index 2ba4f66d457..935e969aca3 100644 --- a/lib/isc/task.c +++ b/lib/isc/task.c @@ -15,7 +15,7 @@ * 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 * \author Principal Author: Bob Halley @@ -67,9 +67,11 @@ typedef enum { task_state_done } task_state_t; +#ifdef HAVE_LIBXML2 static const char *statenames[] = { "idle", "ready", "running", "done", }; +#endif #define TASK_MAGIC ISC_MAGIC('T', 'A', 'S', 'K') #define VALID_TASK(t) ISC_MAGIC_VALID(t, TASK_MAGIC)