refactor: clean includes
This commit is contained in:
+2
-1
@@ -3,9 +3,10 @@
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "shared.h"
|
||||
#include "types.h"
|
||||
|
||||
#include "shared.h"
|
||||
|
||||
static void *open_shared(const char *key, size_t size, int *fd) {
|
||||
*fd = shm_open(key, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
|
||||
ftruncate(*fd, size);
|
||||
|
||||
Reference in New Issue
Block a user