projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
num2str(): Avoid an out-of-bounds array access
[fio.git]
/
smalloc.c
diff --git
a/smalloc.c
b/smalloc.c
index d19e108a35e0919aada104e4965471e32d8e7384..a2ad25a0a0d03bf5010c743325ed17e594e0fb83 100644
(file)
--- a/
smalloc.c
+++ b/
smalloc.c
@@
-3,19
+3,11
@@
* that can be shared across processes and threads
*/
#include <sys/mman.h>
* that can be shared across processes and threads
*/
#include <sys/mman.h>
-#include <stdio.h>
-#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <assert.h>
#include <string.h>
-#include <unistd.h>
-#include <inttypes.h>
-#include <sys/types.h>
-#include <limits.h>
-#include <fcntl.h>
#include "fio.h"
#include "fio_sem.h"
#include "fio.h"
#include "fio_sem.h"
-#include "arch/arch.h"
#include "os/os.h"
#include "smalloc.h"
#include "log.h"
#include "os/os.h"
#include "smalloc.h"
#include "log.h"