Module: kamailio
Branch: master
Commit: bf3e80bdf7110630c5343f2fb2a44a7689343875
URL:
https://github.com/kamailio/kamailio/commit/bf3e80bdf7110630c5343f2fb2a44a7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-14T10:22:45+02:00
mem: old shm management disabled
---
Modified: mem/shm_mem.c
Modified: mem/shm_mem.h
---
Diff:
https://github.com/kamailio/kamailio/commit/bf3e80bdf7110630c5343f2fb2a44a7…
Patch:
https://github.com/kamailio/kamailio/commit/bf3e80bdf7110630c5343f2fb2a44a7…
---
diff --git a/mem/shm_mem.c b/mem/shm_mem.c
index 2c58c44..8395cfd 100644
--- a/mem/shm_mem.c
+++ b/mem/shm_mem.c
@@ -25,6 +25,8 @@
#ifdef SHM_MEM
+#if 0
+
#include <stdlib.h>
#include "shm_mem.h"
@@ -266,3 +268,5 @@ unsigned long shm_available_safe()
}
#endif
+
+#endif
diff --git a/mem/shm_mem.h b/mem/shm_mem.h
index d31ce6b..35d6503 100644
--- a/mem/shm_mem.h
+++ b/mem/shm_mem.h
@@ -31,6 +31,10 @@
#ifndef shm_mem_h
#define shm_mem_h
+#include "shm.h"
+
+#if 0
+
#include <string.h>
#include <errno.h>
#include <sys/types.h>
@@ -337,6 +341,7 @@ do{\
*/
unsigned long shm_available_safe();
+#endif
#endif /* shm_mem_h */