blob: 68fa4ea6a32f70b0ab03df1de93f2c92f2fdc9c1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- alloc.c.orig 2007-12-26 14:24:10.000000000 -0200
+++ alloc.c 2007-12-26 14:25:40.000000000 -0200
@@ -1,7 +1,6 @@
+#include <stdlib.h>
#include "alloc.h"
#include "error.h"
-extern char *malloc();
-extern void free();
#define ALIGNMENT 16 /* XXX: assuming that this alignment is enough */
#define SPACE 4096 /* must be multiple of ALIGNMENT */
--- spawn.c.orig 2007-12-26 14:24:53.000000000 -0200
+++ spawn.c 2007-12-26 14:25:09.000000000 -0200
@@ -1,5 +1,6 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include "alloc.h"
#include "sig.h"
#include "wait.h"
#include "substdio.h"
|