]> diplodocus.org Git - nmh/blobdiff - sbr/cpydata.c
get_file_info(): Flip logic throughout, reducing nesting.
[nmh] / sbr / cpydata.c
index c3ca3ed6e45b3c07fc09aef0adda512541df7130..49b9927c89952ce39d2fef77217639240ef9b913 100644 (file)
@@ -1,8 +1,4 @@
-
-/*
- * cpydata.c -- copy all data from one fd to another
- *
- * $Id$
+/* 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
@@ -12,7 +8,7 @@
 #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];