Change header include from event to core_only where applicable

This commit is contained in:
Neel Goyal 2013-08-09 11:34:42 -04:00
parent c2a03c5570
commit 8b60254fe4
12 changed files with 14 additions and 12 deletions

3
.gitignore vendored
View File

@ -1,4 +1,7 @@
*~ *~
getdns*.tar.gz
*.o
.*.swp
.deps/ .deps/
.libs/ .libs/
Makefile Makefile

View File

@ -28,7 +28,7 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#include <getdns_libevent.h> #include <getdns_core_only.h>
/* stuff to make it compile pedantically */ /* stuff to make it compile pedantically */
#define UNUSED_PARAM(x) ((void)(x)) #define UNUSED_PARAM(x) ((void)(x))

View File

@ -28,7 +28,7 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#include <getdns_libevent.h> #include <getdns_core_only.h>
/* stuff to make it compile pedantically */ /* stuff to make it compile pedantically */
#define UNUSED_PARAM(x) ((void)(x)) #define UNUSED_PARAM(x) ((void)(x))

View File

@ -28,7 +28,7 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#include <getdns_libevent.h> #include <getdns_core_only.h>
/* stuff to make it compile pedantically */ /* stuff to make it compile pedantically */
#define UNUSED_PARAM(x) ((void)(x)) #define UNUSED_PARAM(x) ((void)(x))

View File

@ -31,7 +31,7 @@
#include <search.h> #include <search.h>
#include <string.h> #include <string.h>
#include <getdns_libevent.h> #include <getdns_core_only.h>
/* TODO: change this to make the walk safe for reentrant/multi-thread calls */ /* TODO: change this to make the walk safe for reentrant/multi-thread calls */
struct getdns_list *walkresultlist; struct getdns_list *walkresultlist;

View File

@ -28,7 +28,7 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#include <getdns_libevent.h> #include <getdns_core_only.h>
/* stuff to make it compile pedantically */ /* stuff to make it compile pedantically */
#define UNUSED_PARAM(x) ((void)(x)) #define UNUSED_PARAM(x) ((void)(x))

View File

@ -28,7 +28,7 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#include <getdns_libevent.h> #include <getdns_core_only.h>
/* stuff to make it compile pedantically */ /* stuff to make it compile pedantically */
#define UNUSED_PARAM(x) ((void)(x)) #define UNUSED_PARAM(x) ((void)(x))

View File

@ -29,8 +29,7 @@
*/ */
#include <string.h> #include <string.h>
#include <getdns_libevent.h> #include <getdns_core_only.h>
#include "getdns_core_only.h"
/*---------------------------------------- getdns_list_get_length */ /*---------------------------------------- getdns_list_get_length */
getdns_return_t getdns_return_t

View File

@ -28,7 +28,7 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#include <getdns_libevent.h> #include <getdns_core_only.h>
/* stuff to make it compile pedantically */ /* stuff to make it compile pedantically */
#define UNUSED_PARAM(x) ((void)(x)) #define UNUSED_PARAM(x) ((void)(x))

View File

@ -27,7 +27,7 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#include <getdns_libevent.h> #include <getdns_core_only.h>
/* stuff to make it compile pedantically */ /* stuff to make it compile pedantically */
#define UNUSED_PARAM(x) ((void)(x)) #define UNUSED_PARAM(x) ((void)(x))

View File

@ -28,7 +28,7 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#include <getdns_libevent.h> #include <getdns_core_only.h>
/* stuff to make it compile pedantically */ /* stuff to make it compile pedantically */
#define UNUSED_PARAM(x) ((void)(x)) #define UNUSED_PARAM(x) ((void)(x))

View File

@ -4,7 +4,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdbool.h> #include <stdbool.h>
#include <getdns_libevent.h> #include <getdns_core_only.h>
#define UNUSED_PARAM(x) ((void)(x)) #define UNUSED_PARAM(x) ((void)(x))