From 13f9fab941ab9f3d0f7e7f5cdd8849ee09a0dc9c Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Mon, 1 Apr 1996 15:26:38 +0000 Subject: Adaptation aux threads: un GC mineur peut se declencher et deplacer des objets des qu'on rentre en blocking_section. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@720 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- otherlibs/unix/unix.h | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'otherlibs/unix/unix.h') diff --git a/otherlibs/unix/unix.h b/otherlibs/unix/unix.h index 5a26a7c3d..8783328f8 100644 --- a/otherlibs/unix/unix.h +++ b/otherlibs/unix/unix.h @@ -13,19 +13,6 @@ #define Nothing ((value) 0) -#ifndef NULL -#ifdef __STDC__ -#define NULL ((void *) 0) -#else -#define NULL ((char *) 0) -#endif -#endif - -#ifdef __STDC__ -extern void unix_error(int errcode, char * cmdname, value arg); -extern void uerror(char * cmdname, value arg); -#else -void unix_error(); -void uerror(); -#endif - +extern void unix_error P((int errcode, char * cmdname, value arg)); +extern void uerror P((char * cmdname, value arg)); +extern value unix_freeze_buffer P((value)); -- cgit v1.2.3-70-g09d2