projects
/
winnie
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shared memory: TODO fix client bug
[winnie]
/
libwinnie
/
src
/
shalloc.cc
diff --git
a/libwinnie/src/shalloc.cc
b/libwinnie/src/shalloc.cc
index
5d4715a
..
6595406
100644
(file)
--- a/
libwinnie/src/shalloc.cc
+++ b/
libwinnie/src/shalloc.cc
@@
-21,8
+21,8
@@
Author: Eleni Maria Stea <elene.mst@gmail.com>
#include <assert.h>
#include <stdio.h>
#include <assert.h>
#include <stdio.h>
-#include <stdlib.h>
#include <stdint.h>
#include <stdint.h>
+#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <string.h>
#include <errno.h>
@@
-35,9
+35,6
@@
Author: Eleni Maria Stea <elene.mst@gmail.com>
#include "shalloc.h"
#include "shalloc.h"
-#define SHMNAME "/winnie.shm"
-
-#define POOL_SIZE 16777216
#define BLOCK_SIZE 512
#define NUM_BLOCKS (POOL_SIZE / BLOCK_SIZE)
#define BLOCK_SIZE 512
#define NUM_BLOCKS (POOL_SIZE / BLOCK_SIZE)