/* darkstat 3
*
* db.c: load and save in-memory database from/to file
- * copyright (c) 2007-2011 Ben Stewart, Emil Mikulic.
+ * copyright (c) 2007-2012 Ben Stewart, Emil Mikulic.
*
* You may use, modify and redistribute this file under the terms of the
* GNU General Public License version 2. (see COPYING.GPL)
#include <string.h>
#include <unistd.h>
-#include "cdefs.h"
#include "err.h"
#include "hosts_db.h"
#include "graph_db.h"
#endif
#define ntoh64 hton64
-static inline uint64_t hton64(const uint64_t ho) {
+static uint64_t hton64(const uint64_t ho) {
if (ntohs(0x1234) == 0x1234)
return ho;
else