X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/5dd6771b28c257af405d7248639ed0e3bcdce38b..670a0d84c25b458bbb348d2a1ecee178cfa6c226:/sbr/cpydata.c diff --git a/sbr/cpydata.c b/sbr/cpydata.c index d322ba9b..2ba9da6a 100644 --- a/sbr/cpydata.c +++ b/sbr/cpydata.c @@ -1,16 +1,16 @@ - -/* - * 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 +#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];