132. [cleanup] <isc/app.h> does not need <isc/task.h>, but does

need <isc/eventclass.h>.
This commit is contained in:
David Lawrence
2000-04-28 21:08:52 +00:00
parent 9c4f33b671
commit eefea43215
3 changed files with 7 additions and 5 deletions

View File

@@ -1,3 +1,6 @@
132. [cleanup] <isc/app.h> does not need <isc/task.h>, but does
need <isc/eventclass.h>.
131. [cleanup] <isc/mutex.h> and <isc/util.h> need <isc/result.h>
for ISC_R_* codes used in macros.

View File

@@ -28,11 +28,10 @@
#include <signal.h>
#include <isc/app.h>
#include <isc/assertions.h>
#include <isc/error.h>
#include <isc/boolean.h>
#include <isc/mutex.h>
#include <isc/event.h>
#include <isc/task.h>
#include <isc/util.h>
static isc_eventlist_t on_run;

View File

@@ -71,11 +71,9 @@
* None.
*/
#include <isc/eventclass.h>
#include <isc/lang.h>
#include <isc/result.h>
#include <isc/task.h>
ISC_LANG_BEGINDECLS
typedef isc_event_t isc_appevent_t;
@@ -83,6 +81,8 @@ typedef isc_event_t isc_appevent_t;
#define ISC_APPEVENT_SHUTDOWN (ISC_EVENTCLASS_APP + 1)
#define ISC_APPEVENT_LASTEVENT (ISC_EVENTCLASS_APP + 65535)
ISC_LANG_BEGINDECLS
isc_result_t
isc_app_start(void);
/*