[project @ 1998-04-10 10:54:14 by simonm]
[ghc-hetmet.git] / ghc / lib / std / cbits / removeDirectory.c
similarity index 77%
rename from ghc/lib/std/cbits/removeDirectory.lc
rename to ghc/lib/std/cbits/removeDirectory.c
index 3347fd7..9eb5310 100644 (file)
@@ -1,11 +1,12 @@
-%
-% (c) The GRASP/AQUA Project, Glasgow University, 1995
-%
-\subsection[removeDirectory.lc]{removeDirectory Runtime Support}
+/* 
+ * (c) The GRASP/AQUA Project, Glasgow University, 1994-1998
+ *
+ * $Id: removeDirectory.c,v 1.1 1998/04/10 10:54:44 simonm Exp $
+ *
+ * removeDirectory Runtime Support
+ */
 
-\begin{code}
-
-#include "rtsdefs.h"
+#include "Rts.h"
 #include "stgio.h"
 
 #ifdef HAVE_SYS_TYPES_H
@@ -17,8 +18,7 @@
 #endif
 
 StgInt
-removeDirectory(path)
-StgByteArray path;
+removeDirectory(StgByteArray path)
 {
     struct stat sb;
 
@@ -53,5 +53,3 @@ StgByteArray path;
     }
     return 0;
 }
-
-\end{code}