Some cleanup. Removed sharedmemory_global.h
[umurmur.git] / src / sharedmemory.c
index 9018f5cbd7d35bfd93cc39d956ec87c6151add75..c2b703ab5ba0697d13a7f7ffe5d0cefc661f0014 100644 (file)
@@ -1,5 +1,8 @@
 #include "sharedmemory.h"\r
-#include "sharedmemory_global.h"\r
+\r
+int shm_fd;\r
+shm_t *shmptr = NULL;\r
+char shm_file_name[128];\r
 \r
 void Sharedmemory_init( int bindport, int bindport6 ) \r
 {\r
@@ -114,4 +117,4 @@ void Sharedmemory_deinit(void)
   close( shm_fd );\r
   shm_unlink( shm_file_name );\r
   shmptr->umurmurd_pid = 0;\r
-}
\ No newline at end of file
+}\r