projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edfca25
)
gfio: cleanup includes
author
Jens Axboe
<axboe@kernel.dk>
Mon, 23 Jul 2018 14:29:14 +0000
(08:29 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 23 Jul 2018 14:29:14 +0000
(08:29 -0600)
Use stdlib.h, not malloc.h. And ensure that we pull in the
right header for basename(3).
Signed-off-by: Jens Axboe <axboe@kernel.dk>
gfio.c
patch
|
blob
|
blame
|
history
diff --git
a/gfio.c
b/gfio.c
index d222a1c2ab7afc71231d1e2a5ee1922436c58620..f59238cd29c816e80b5952333e6794d377c47460 100644
(file)
--- a/
gfio.c
+++ b/
gfio.c
@@
-22,8
+22,9
@@
*
*/
#include <locale.h>
-#include <
malloc
.h>
+#include <
stdlib
.h>
#include <string.h>
+#include <libgen.h>
#include <glib.h>
#include <cairo.h>