Use struct addr - big cleanup.
[darkstat] / acct.h
diff --git a/acct.h b/acct.h
index 336ac85..c0434ed 100644 (file)
--- a/acct.h
+++ b/acct.h
@@ -4,12 +4,14 @@
  * acct.h: traffic accounting
  */
 
-#include "decode.h"
+#include <stdint.h>
+
+struct pktsummary;
 
 extern uint64_t total_packets, total_bytes;
 
 void acct_init_localnet(const char *spec);
-void acct_for(const pktsummary *sm);
+void acct_for(const struct pktsummary * const sm);
 
 extern unsigned int highest_port;