diff: delete #include <unistd.h> from mercury_context.c

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Dec 17 04:10:07 AEDT 1998


Tom, does this look OK?

Estimated hours taken: 0.25

runtime/mercury_context.c:
	Delete the `#include <unistd.h>', since it's not needed,
	and since <unistd.h> is not part of ANSI C, 

Index: runtime/mercury_context.c
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_context.c,v
retrieving revision 1.17
diff -u -r1.17 mercury_context.c
--- mercury_context.c	1998/12/15 00:22:13	1.17
+++ mercury_context.c	1998/12/16 16:22:25
@@ -13,7 +13,6 @@
 #include "mercury_imp.h"
 
 #include <stdio.h>
-#include <unistd.h>		/* for getpid() and fork() */
 #ifdef MR_THREAD_SAFE
   #include "mercury_thread.h"
 #endif

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "Binaries may die
WWW: <http://www.cs.mu.oz.au/~fjh>  |   but source code lives forever"
PGP: finger fjh at 128.250.37.3        |     -- leaked Microsoft memo.



More information about the developers mailing list