Module: kamailio
Branch: master
Commit: 304b492425a755ab524f814d1f9e03be8f7d407a
URL:
https://github.com/kamailio/kamailio/commit/304b492425a755ab524f814d1f9e03b…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-12-28T18:12:58+01:00
core: move includes, dprint.h from mem.h to new pkg.h, remove obselete config.h
---
Modified: src/core/mem/mem.h
Modified: src/core/mem/pkg.h
---
Diff:
https://github.com/kamailio/kamailio/commit/304b492425a755ab524f814d1f9e03b…
Patch:
https://github.com/kamailio/kamailio/commit/304b492425a755ab524f814d1f9e03b…
---
diff --git a/src/core/mem/mem.h b/src/core/mem/mem.h
index 23aa981483..64a5a229e1 100644
--- a/src/core/mem/mem.h
+++ b/src/core/mem/mem.h
@@ -37,8 +37,6 @@
#ifndef mem_h
#define mem_h
-#include "../config.h"
-#include "../dprint.h"
#include "pkg.h"
diff --git a/src/core/mem/pkg.h b/src/core/mem/pkg.h
index f5544f5818..e231692d30 100644
--- a/src/core/mem/pkg.h
+++ b/src/core/mem/pkg.h
@@ -29,6 +29,8 @@
#include "memapi.h"
+#include "../dprint.h"
+
extern sr_pkg_api_t _pkg_root;
int pkg_init_api(sr_pkg_api_t *ap);