Commit c93fabc0 authored by Daniel Salzman's avatar Daniel Salzman

contrib: move murmurhash3 from internal

parent 26a058a5
......@@ -55,6 +55,8 @@ src/contrib/lmdb/midl.c
src/contrib/lmdb/midl.h
src/contrib/lookup.h
src/contrib/macros.h
src/contrib/murmurhash3/murmurhash3.c
src/contrib/murmurhash3/murmurhash3.h
src/contrib/net.c
src/contrib/net.h
src/contrib/openbsd/strlcat.c
......@@ -385,8 +387,6 @@ src/libknot/internal/namedb/namedb_trie.c
src/libknot/internal/namedb/namedb_trie.h
src/libknot/internal/trie/hat-trie.c
src/libknot/internal/trie/hat-trie.h
src/libknot/internal/trie/murmurhash3.c
src/libknot/internal/trie/murmurhash3.h
src/libknot/libknot.h
src/libknot/packet/compr.c
src/libknot/packet/compr.h
......
......@@ -37,6 +37,7 @@ nobase_libcontrib_la_HEADERS = \
contrib/tolower.h \
contrib/wire.h \
contrib/wire_ctx.h \
contrib/murmurhash3/murmurhash3.h \
contrib/openbsd/strlcat.h \
contrib/openbsd/strlcpy.h \
contrib/ucw/array-sort.h \
......@@ -91,8 +92,7 @@ nobase_libknot_internal_la_HEADERS = \
libknot/internal/namedb/namedb.h \
libknot/internal/namedb/namedb_lmdb.h \
libknot/internal/namedb/namedb_trie.h \
libknot/internal/trie/hat-trie.h \
libknot/internal/trie/murmurhash3.h
libknot/internal/trie/hat-trie.h
libknot_yparser_ladir = $(includedir)
nobase_libknot_yparser_la_HEADERS = \
......@@ -110,6 +110,7 @@ libcontrib_la_SOURCES = \
contrib/print.c \
contrib/sockaddr.c \
contrib/string.c \
contrib/murmurhash3/murmurhash3.c \
contrib/openbsd/strlcat.c \
contrib/openbsd/strlcpy.c \
contrib/ucw/heap.c \
......@@ -161,7 +162,6 @@ libknot_internal_la_SOURCES = \
libknot/internal/namedb/namedb_lmdb.c \
libknot/internal/namedb/namedb_trie.c \
libknot/internal/trie/hat-trie.c \
libknot/internal/trie/murmurhash3.c \
$(nobase_libknot_internal_la_HEADERS)
libcontrib_la_CPPFLAGS = $(AM_CPPFLAGS)
......
/* This is MurmurHash3. The original C++ code was placed in the public domain
* by its author, Austin Appleby. */
#include "libknot/internal/trie/murmurhash3.h"
#include "contrib/murmurhash3/murmurhash3.h"
static inline uint32_t fmix(uint32_t h)
{
......
......@@ -22,7 +22,7 @@
#include "knot/server/rrl.h"
#include "knot/zone/zone.h"
#include "libknot/libknot.h"
#include "libknot/internal/trie/murmurhash3.h"
#include "contrib/murmurhash3/murmurhash3.h"
#include "contrib/sockaddr.h"
/* Hopscotch defines. */
......
......@@ -3,8 +3,8 @@
#include <stdbool.h>
#include "contrib/macros.h"
#include "contrib/murmurhash3/murmurhash3.h"
#include "libknot/internal/hhash.h"
#include "libknot/internal/trie/murmurhash3.h"
#include "libknot/errcode.h"
/* UCW array sorting defines. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment