]> diplodocus.org Git - nmh/blobdiff - sbr/cpydata.c
h/prototypes.h: Remove mhlsbr() prototype; no such function.
[nmh] / sbr / cpydata.c
index c3ca3ed6e45b3c07fc09aef0adda512541df7130..2ba9da6a4564d6adcc5cca4db2912d2bf1e57f37 100644 (file)
@@ -1,18 +1,16 @@
-
-/*
- * cpydata.c -- copy all data from one fd to another
- *
- * $Id$
+/* cpydata.c -- copy all data from one fd to another
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
  * complete copyright information.
  */
 
-#include <h/mh.h>
+#include "h/mh.h"
+#include "cpydata.h"
+#include "error.h"
 
 void
-cpydata (int in, int out, char *ifile, char *ofile)
+cpydata (int in, int out, const char *ifile, const char *ofile)
 {
     int i;
     char buffer[BUFSIZ];