Commit 1cb24811 authored by Ondřej Surý's avatar Ondřej Surý

Cleanup libknot/errcode.h vs libknot/internal/errcode.h usage in the rest of the code

parent 0024dc87
......@@ -30,6 +30,7 @@
#include <pwd.h>
#include "libknot/internal/mem.h"
#include "libknot/errcode.h"
#include "knot/ctl/process.h"
#include "knot/conf/conf.h"
......
......@@ -21,6 +21,7 @@
#include "dnssec/event.h"
#include "libknot/internal/macros.h"
#include "libknot/internal/mem.h"
#include "libknot/errcode.h"
#include "knot/conf/conf.h"
#include "knot/dnssec/context.h"
#include "knot/dnssec/policy.h"
......
......@@ -31,6 +31,7 @@
#endif
#include "dnssec/crypto.h"
#include "libknot/errcode.h"
#include "knot/ctl/process.h"
#include "knot/ctl/remote.h"
#include "knot/conf/conf.h"
......
......@@ -21,6 +21,7 @@
#include "knot/updates/apply.h"
#include "knot/zone/zonefile.h"
#include "knot/common/debug.h"
#include "libknot/errcode.h"
#include "libknot/descriptor.h"
#include "libknot/internal/lists.h"
......
......@@ -22,6 +22,7 @@
#include "knot/updates/apply.h"
#include "knot/common/debug.h"
#include "knot/zone/serial.h"
#include "libknot/errcode.h"
#include "libknot/descriptor.h"
#include "libknot/internal/utils.h"
#include "libknot/rrtype/soa.h"
......
......@@ -14,6 +14,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "libknot/errcode.h"
#include "knot/nameserver/process_answer.h"
#include "knot/nameserver/internet.h"
#include "knot/nameserver/notify.h"
......
......@@ -25,6 +25,7 @@
#include "knot/dnssec/zone-events.h"
#include "knot/updates/ddns.h"
#include "knot/updates/zone-update.h"
#include "libknot/errcode.h"
#include "libknot/descriptor.h"
#include "libknot/tsig-op.h"
#include "knot/zone/zone.h"
......
......@@ -27,6 +27,7 @@
#include "knot/common/debug.h"
#include "knot/server/journal.h"
#include "knot/server/serialization.h"
#include "libknot/errcode.h"
#include "libknot/rrtype/soa.h"
/*! \brief Infinite file size limit. */
......
......@@ -22,6 +22,7 @@
#include <assert.h>
#include "dnssec/random.h"
#include "libknot/errcode.h"
#include "knot/common/debug.h"
#include "knot/common/trim.h"
#include "knot/server/server.h"
......
......@@ -19,6 +19,7 @@
#include "knot/zone/contents.h"
#include "knot/common/debug.h"
#include "libknot/internal/macros.h"
#include "libknot/errcode.h"
#include "libknot/rrset.h"
#include "libknot/internal/base32hex.h"
#include "libknot/descriptor.h"
......
......@@ -18,7 +18,8 @@
#include <time.h>
#include "knot/common/evsched.h"
#include "libknot/internal//namedb/namedb.h"
#include "libknot/errcode.h"
#include "libknot/internal/namedb/namedb.h"
#include "knot/server/server.h"
#include "knot/worker/pool.h"
#include "knot/zone/zone.h"
......
......@@ -15,6 +15,7 @@
*/
#include "dnssec/random.h"
#include "libknot/errcode.h"
#include "libknot/processing/requestor.h"
#include "libknot/rrtype/soa.h"
......
......@@ -14,6 +14,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "libknot/errcode.h"
#include "knot/common/log.h"
#include "knot/server/journal.h"
#include "knot/zone/zone-diff.h"
......
......@@ -17,6 +17,7 @@
#include <assert.h>
#include <sys/stat.h>
#include "libknot/errcode.h"
#include "knot/zone/zonedb-load.h"
#include "knot/zone/zone-load.h"
#include "knot/conf/conf.h"
......
......@@ -15,7 +15,7 @@
*/
#include "libknot/internal/base64.h"
#include "libknot/errcode.h"
#include "libknot/internal/errcode.h"
#include <stdlib.h>
#include <stdint.h>
......
......@@ -16,8 +16,7 @@
#include <assert.h>
#include "libknot/errcode.h"
#include "libknot/internal/errcode.h"
#include "libknot/internal/namedb/namedb_trie.h"
#include "libknot/internal/trie/hat-trie.h"
#include "libknot/internal/mempattern.h"
......
......@@ -19,9 +19,9 @@
#include <netdb.h>
#include "libknot/internal/sockaddr.h"
#include "libknot/errcode.h"
#include "libknot/internal/errcode.h"
#include "libknot/internal/strlcpy.h"
#include "libknot/consts.h"
#include "libknot/consts.h" /* FIXME */
int sockaddr_len(const struct sockaddr *ss)
{
......
......@@ -25,7 +25,7 @@ extern "C" {
#include <stdbool.h>
#include "libknot/internal/mempattern.h"
#include "libknot/internal/hhash.h"
#include "libknot/errcode.h"
#include "libknot/internal/errcode.h"
/* Hat-trie defines. */
#define TRIE_ZEROBUCKETS 0 /* Do not use hash buckets (pure trie). */
......
......@@ -22,6 +22,7 @@
#include <sys/stat.h>
#include <tap/basic.h>
#include "libknot/errcode.h"
#include "knot/server/journal.h"
#include "knot/zone/zone-diff.h"
......
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