]> diplodocus.org Git - nmh/blobdiff - sbr/cpydata.c
showbuildenv: Add comment describing exit-status convention.
[nmh] / sbr / cpydata.c
index c3ca3ed6e45b3c07fc09aef0adda512541df7130..37d4803a7a537f2d96aeeb42f6dbd728b9c6586b 100644 (file)
@@ -2,8 +2,6 @@
 /*
  * 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.
  * 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.
@@ -12,7 +10,7 @@
 #include <h/mh.h>
 
 void
 #include <h/mh.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];
 {
     int i;
     char buffer[BUFSIZ];