From a5a953a5c6d9d298954358f5ac1f6a2be367b70b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= <ondrej@sury.org>
Date: Wed, 3 Aug 2011 09:14:35 +0200
Subject: [PATCH] s/dnslib/libknot/ in hash/

---
 libknot/hash/cuckoo-hash-table.c | 10 +++++-----
 libknot/hash/cuckoo-hash-table.h |  6 +++---
 libknot/hash/hash-functions.h    |  4 ++--
 libknot/hash/universal-system.c  |  2 +-
 libknot/hash/universal-system.h  |  6 +++---
 5 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/libknot/hash/cuckoo-hash-table.c b/libknot/hash/cuckoo-hash-table.c
index 81d77e291a..3ef4f29622 100644
--- a/libknot/hash/cuckoo-hash-table.c
+++ b/libknot/hash/cuckoo-hash-table.c
@@ -8,11 +8,11 @@
 
 #include <urcu.h>
 
-#include "dnslib/utils.h"
-#include "dnslib/dnslib-common.h"
-#include "dnslib/debug.h"
-#include "dnslib/hash/cuckoo-hash-table.h"
-#include "dnslib/hash/hash-functions.h"
+#include "utils.h"
+#include "common.h"
+#include "debug.h"
+#include "hash/cuckoo-hash-table.h"
+#include "hash/hash-functions.h"
 #include "common/dynamic-array.h"
 
 /*----------------------------------------------------------------------------*/
diff --git a/libknot/hash/cuckoo-hash-table.h b/libknot/hash/cuckoo-hash-table.h
index dac4826213..de851cc0f1 100644
--- a/libknot/hash/cuckoo-hash-table.h
+++ b/libknot/hash/cuckoo-hash-table.h
@@ -18,14 +18,14 @@
  * \addtogroup hashing
  * @{
  */
-#ifndef _KNOTDCUCKOO_HASH_TABLE_H_
-#define _KNOTDCUCKOO_HASH_TABLE_H_
+#ifndef _KNOT_CUCKOO_HASH_TABLE_H_
+#define _KNOT_CUCKOO_HASH_TABLE_H_
 
 #include <stdint.h> /* uint32_t */
 #include <stdlib.h> /* size_t */
 #include <pthread.h>
 
-#include "dnslib/hash/universal-system.h"
+#include "hash/universal-system.h"
 #include "common/dynamic-array.h"
 
 /*----------------------------------------------------------------------------*/
diff --git a/libknot/hash/hash-functions.h b/libknot/hash/hash-functions.h
index e790c244b3..872a802f69 100644
--- a/libknot/hash/hash-functions.h
+++ b/libknot/hash/hash-functions.h
@@ -13,8 +13,8 @@
  * @{
  */
 
-#ifndef _KNOTDHASH_FUNCTIONS_H_
-#define _KNOTDHASH_FUNCTIONS_H_
+#ifndef _KNOT_HASH_FUNCTIONS_H_
+#define _KNOT_HASH_FUNCTIONS_H_
 
 typedef  unsigned long int  u4;   /* unsigned 4-byte type */
 typedef  unsigned     char  u1;   /* unsigned 1-byte type */
diff --git a/libknot/hash/universal-system.c b/libknot/hash/universal-system.c
index 0b871f1d91..5e5c9c4a74 100644
--- a/libknot/hash/universal-system.c
+++ b/libknot/hash/universal-system.c
@@ -7,7 +7,7 @@
 #include <assert.h>
 
 #include "universal-system.h"
-#include "dnslib/utils.h"
+#include "utils.h"
 
 /*----------------------------------------------------------------------------*/
 
diff --git a/libknot/hash/universal-system.h b/libknot/hash/universal-system.h
index 7461f1d82c..1bd8222373 100644
--- a/libknot/hash/universal-system.h
+++ b/libknot/hash/universal-system.h
@@ -24,11 +24,11 @@
  * @{
  */
 
-#ifndef _KNOTDUNIVERSAL_SYSTEM_H_
-#define _KNOTDUNIVERSAL_SYSTEM_H_
+#ifndef _KNOT_UNIVERSAL_SYSTEM_H_
+#define _KNOT_UNIVERSAL_SYSTEM_H_
 
 #include <stdint.h>
-#include "dnslib/dnslib-common.h"
+#include "libknot.h"
 
 
 enum { US_FNC_COUNT = 4 /*!< Number of functions for one generation. */ };
-- 
GitLab