summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2000-09-08 11:48:06 +0000
committerDamien Doligez <damien.doligez-inria.fr>2000-09-08 11:48:06 +0000
commita08944021ea032d41d11aa698c8701e92951cf0d (patch)
treecf6e1a9734aca15007695265a0558422d41e4b7c
parent5dfbff7f5e922dd1db241456708ba2aca5311f4a (diff)
downloadocaml-a08944021ea032d41d11aa698c8701e92951cf0d.tar.gz
alloc.c: typo; weak.c: include manquant
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3299 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r--byterun/alloc.c2
-rw-r--r--byterun/weak.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/byterun/alloc.c b/byterun/alloc.c
index 9bb3575d1d..eb75fef165 100644
--- a/byterun/alloc.c
+++ b/byterun/alloc.c
@@ -52,7 +52,7 @@ value alloc_small (mlsize_t wosize, tag_t tag)
{
value result;
- Assert (wosize > 0)
+ Assert (wosize > 0);
Assert (wosize <= Max_young_wosize);
Assert (tag < 256);
Alloc_small (result, wosize, tag);
diff --git a/byterun/weak.c b/byterun/weak.c
index c9657fb33b..a9956ef1fa 100644
--- a/byterun/weak.c
+++ b/byterun/weak.c
@@ -14,6 +14,8 @@
/* Operations on weak arrays */
+#include <string.h>
+
#include "alloc.h"
#include "fail.h"
#include "memory.h"