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