[project @ 2000-04-06 10:33:06 by rrt]
authorrrt <unknown>
Thu, 6 Apr 2000 10:33:07 +0000 (10:33 +0000)
committerrrt <unknown>
Thu, 6 Apr 2000 10:33:07 +0000 (10:33 +0000)
K&R is long dead
So why do its prototypes still live?

ghc/lib/std/cbits/removeFile.c
ghc/lib/std/cbits/renameFile.c

index ceabfc5..22e9a7b 100644 (file)
@@ -1,7 +1,7 @@
 /* 
  * (c) The GRASP/AQUA Project, Glasgow University, 1994-1998
  *
- * $Id: removeFile.c,v 1.3 1998/12/02 13:27:49 simonm Exp $
+ * $Id: removeFile.c,v 1.4 2000/04/06 10:33:07 rrt Exp $
  *
  * removeFile Runtime Support
  */
@@ -18,8 +18,7 @@
 #endif
 
 StgInt
-removeFile(path)
-StgByteArray path;
+removeFile(StgByteArray path)
 {
     struct stat sb;
 
index 50bb472..2126849 100644 (file)
@@ -1,7 +1,7 @@
 /* 
  * (c) The GRASP/AQUA Project, Glasgow University, 1994-1998
  *
- * $Id: renameFile.c,v 1.7 2000/04/06 10:26:09 rrt Exp $
+ * $Id: renameFile.c,v 1.8 2000/04/06 10:33:06 rrt Exp $
  *
  * renameFile Runtime Support
  */
@@ -23,9 +23,7 @@
 
 
 StgInt
-renameFile(opath, npath)
-StgByteArray opath;
-StgByteArray npath;
+renameFile(StgByteArray opath, StgByteArray npath)
 {
     struct stat sb;