]> diplodocus.org Git - nmh/blobdiff - sbr/cpydata.c
h/prototypes.h: Remove mhlsbr() prototype; no such function.
[nmh] / sbr / cpydata.c
index a8c33758890431cd224e507b1d2c8d2f3fa42765..2ba9da6a4564d6adcc5cca4db2912d2bf1e57f37 100644 (file)
@@ -1,14 +1,16 @@
-
-/*
- * cpydata.c -- copy all data from one fd to another
+/* cpydata.c -- copy all data from one fd to another
  *
- * $Id$
+ * 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];