Browse Source

mem: old shm management disabled

Daniel-Constantin Mierla 10 years ago
parent
commit
bf3e80bdf7
2 changed files with 9 additions and 0 deletions
  1. 4 0
      mem/shm_mem.c
  2. 5 0
      mem/shm_mem.h

+ 4 - 0
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

+ 5 - 0
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 */