diff --git a/bofh/bofh-divert.c b/bofh/bofh-divert.c index c3f7fa7..15748b2 100644 --- a/bofh/bofh-divert.c +++ b/bofh/bofh-divert.c @@ -60,9 +60,8 @@ void usage() { } int main(int argc, char *argv[]) { - int fd, s,n; + int fd, s; struct sockaddr_in sin; - struct in_addr *pfip; socklen_t sin_len; char pfTable[PF_TABLE_NAME_SIZE]; int divertPort=0; diff --git a/dnsbl/dnsbl-divert.c b/dnsbl/dnsbl-divert.c index 562d84e..a4254cf 100644 --- a/dnsbl/dnsbl-divert.c +++ b/dnsbl/dnsbl-divert.c @@ -33,8 +33,8 @@ #include #include #include + #include -#include #include #include #include @@ -43,6 +43,7 @@ #include #include #include +#include #include // for isdigit #include @@ -103,8 +104,7 @@ int main(int argc, char *argv[]) { struct hostent *hp = NULL; socklen_t sin_len; unsigned long dns = 0l; - int sockfd; - int rv; + char pf_table_black[PF_TABLE_NAME_SIZE]; char pf_table_cache[PF_TABLE_NAME_SIZE]; int divertPort=0; diff --git a/stdpf.c b/stdpf.c index d064356..e348d53 100644 --- a/stdpf.c +++ b/stdpf.c @@ -2,13 +2,13 @@ #include #include #include -#include #include #include #include #include #include #include +#include #include #include