summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/wait.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2001-08-28 14:47:48 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2001-08-28 14:47:48 +0000
commitddd99c7e5d2f0f8e7364e8521fa7e8308999344e (patch)
tree3c0158d035a52c0cf185c08c3288c3c76d6718d0 /otherlibs/unix/wait.c
parentc345611817d76ccc3bbd02db1f942774220739f9 (diff)
Chargement dynamique de primitives C
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/unix/wait.c')
-rw-r--r--otherlibs/unix/wait.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/otherlibs/unix/wait.c b/otherlibs/unix/wait.c
index 9e252a780..f8c12d5e4 100644
--- a/otherlibs/unix/wait.c
+++ b/otherlibs/unix/wait.c
@@ -59,7 +59,7 @@ static value alloc_process_status(int pid, int status)
return res;
}
-value unix_wait(void) /* ML */
+CAMLprim value unix_wait(void)
{
int pid, status;
@@ -80,7 +80,7 @@ static int wait_flag_table[] = {
WNOHANG, WUNTRACED
};
-value unix_waitpid(value flags, value pid_req) /* ML */
+CAMLprim value unix_waitpid(value flags, value pid_req)
{
int pid, status;
@@ -94,7 +94,7 @@ value unix_waitpid(value flags, value pid_req) /* ML */
#else
-value unix_waitpid(value flags, value pid_req)
+CAMLprim value unix_waitpid(value flags, value pid_req)
{ invalid_argument("waitpid not implemented"); }
#endif