Archived
1
0
Fork 0

use stdlib.h instead of malloc.h

This commit is contained in:
Henrik Hautakoski 2010-11-28 09:51:53 +01:00
parent ae3ff5faae
commit 2e2d6c7eee
6 changed files with 5 additions and 6 deletions

View file

@ -1,5 +1,4 @@
#include <malloc.h>
#include <stdio.h>
#include <stdlib.h>
#include "unit.h"

View file

@ -1,6 +1,6 @@
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "../src/queue.h"
int main() {

View file

@ -2,7 +2,7 @@
#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <malloc.h>
#include <stdlib.h>
#include "../src/strbuf.h"
typedef unsigned int uint;

View file

@ -1,6 +1,6 @@
#include "unit.h"
#include <malloc.h>
#include <stdlib.h>
#include <time.h>
static inline char ranchr() {