projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
silenced some warnings
[umurmur.git]
/
src
/
sharedmemory.c
diff --git
a/src/sharedmemory.c
b/src/sharedmemory.c
index 9018f5cbd7d35bfd93cc39d956ec87c6151add75..c2b703ab5ba0697d13a7f7ffe5d0cefc661f0014 100644
(file)
--- a/
src/sharedmemory.c
+++ b/
src/sharedmemory.c
@@
-1,5
+1,8
@@
#include "sharedmemory.h"
\r
#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
\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
close( shm_fd );
\r
shm_unlink( shm_file_name );
\r
shmptr->umurmurd_pid = 0;
\r
-}
\ No newline at end of file
+}
\r