X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..670a0d84c25b458bbb348d2a1ecee178cfa6c226:/sbr/cpydata.c diff --git a/sbr/cpydata.c b/sbr/cpydata.c index a8c33758..2ba9da6a 100644 --- a/sbr/cpydata.c +++ b/sbr/cpydata.c @@ -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 +#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];