]> diplodocus.org Git - nmh/blobdiff - sbr/cpydata.c
path.c: Move interface to own file.
[nmh] / sbr / cpydata.c
index d322ba9b3ed021d19dd37afdfeb34f9833fa1547..0760bb42980f94515738ccf201d49cc38cbfd11c 100644 (file)
@@ -1,16 +1,15 @@
-
-/*
- * cpydata.c -- copy all data from one fd to another
+/* 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 "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];