]> diplodocus.org Git - nmh/blobdiff - sbr/cpydata.c
new.c: Order two return statements to match comment.
[nmh] / sbr / cpydata.c
index d322ba9b3ed021d19dd37afdfeb34f9833fa1547..49b9927c89952ce39d2fef77217639240ef9b913 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * 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
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -10,7 +8,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];