X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdns.c;h=95797f543ea67138e23c967645905354991e408e;hb=59c7ee1cafaf53814838794908dd84f8101334c7;hp=f6c3504731cfe55bef6c810d3abe1d41a2e33624;hpb=565c731a4353d1453b65dc9a4267e1f8e4740c06;p=collectd.git diff --git a/src/dns.c b/src/dns.c index f6c35047..95797f54 100644 --- a/src/dns.c +++ b/src/dns.c @@ -1,6 +1,6 @@ /** * collectd - src/dns.c - * Copyright (C) 2006,2007 Florian octo Forster + * Copyright (C) 2006-2011 Florian octo Forster * Copyright (C) 2009 Mirko Buffoni * * This program is free software; you can redistribute it and/or modify it @@ -17,7 +17,7 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * * Authors: - * Florian octo Forster + * Florian octo Forster * Mirko Buffoni **/ @@ -30,9 +30,11 @@ #include "utils_dns.h" #include -#include #include +#include +#include + /* * Private data types */ @@ -206,7 +208,7 @@ static void dns_child_callback (const rfc1035_header_t *dns) pthread_mutex_unlock (&opcode_mutex); } -static void *dns_child_loop (void __attribute__((unused)) *dummy) +static void *dns_child_loop (__attribute__((unused)) void *dummy) { pcap_t *pcap_obj; char pcap_error[PCAP_ERRBUF_SIZE];