Commit eefea432 authored by David Lawrence's avatar David Lawrence
Browse files

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

                        need <isc/eventclass.h>.
parent 9c4f33b6
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);
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment