Skip to content

Commit

Permalink
Use stdlib.h instead of malloc.h
Browse files Browse the repository at this point in the history
A few more conversions.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
axboe committed Jul 23, 2018
1 parent 5fff954 commit 2ef39e0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gclient.c
@@ -1,4 +1,4 @@
#include <malloc.h>
#include <stdlib.h>
#include <string.h>

#include <glib.h>
Expand Down
2 changes: 1 addition & 1 deletion gerror.c
@@ -1,5 +1,5 @@
#include <locale.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>

Expand Down
2 changes: 1 addition & 1 deletion goptions.c
@@ -1,5 +1,5 @@
#include <locale.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>

#include <glib.h>
Expand Down
2 changes: 1 addition & 1 deletion graph.c
Expand Up @@ -21,7 +21,7 @@
*
*/
#include <string.h>
#include <malloc.h>
#include <stdlib.h>
#include <math.h>
#include <assert.h>
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion tickmarks.c
@@ -1,6 +1,6 @@
#include <stdio.h>
#include <math.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>

/*
Expand Down

0 comments on commit 2ef39e0

Please sign in to comment.