Skip to content

Commit

Permalink
Avoid malloc.h, standard headers suffice [vi#2]
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov committed Aug 13, 2024
1 parent 3adf632 commit 1293673
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion chunked_buffer.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <assert.h>
#include <string.h>
#include <malloc.h>
//#include <malloc.h>
#include <stdlib.h>

#include "common.h"
#include "chunked_buffer.h"
Expand Down
4 changes: 3 additions & 1 deletion execute_script.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#include <malloc.h>
//#include <malloc.h>
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>

#include <sys/select.h>
Expand Down

0 comments on commit 1293673

Please sign in to comment.