From: michael Date: Wed, 31 Dec 2014 14:42:24 +0000 (+0000) Subject: - scan.c: use poll.h; removed useless cast X-Git-Tag: 1.1.0beta1~235 X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=fee08a4079a8405a8896d20f18865cc35936ffdd;p=hopm.git - scan.c: use poll.h; removed useless cast - firedns.c: use poll.h git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5227 82007160-df01-0410-b94d-b575c5fd34c7 --- diff --git a/src/firedns.c b/src/firedns.c index 7012f2b..f698c01 100644 --- a/src/firedns.c +++ b/src/firedns.c @@ -26,7 +26,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #include #include #include -#include +#include #include #include #include diff --git a/src/scan.c b/src/scan.c index 50c02f7..fbde760 100644 --- a/src/scan.c +++ b/src/scan.c @@ -42,10 +42,7 @@ #include #include - -#ifdef HAVE_SYS_POLL_H -# include -#endif +#include #include "compat.h" #include "config.h" @@ -230,7 +227,7 @@ scan_init(void) /* add target strings */ LIST_FOREACH(p2, sc->target_string->head) - opm_config(scs->scanner, OPM_CONFIG_TARGET_STRING, (char *) p2->data); + opm_config(scs->scanner, OPM_CONFIG_TARGET_STRING, p2->data); /* Setup callbacks */ opm_callback(scs->scanner, OPM_CALLBACK_OPENPROXY, &scan_open_proxy, scs);