132. [cleanup] <isc/app.h> does not need <isc/task.h>, but does
need <isc/eventclass.h>.
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -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.
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user