diff options
author | Jim Meyering <jim@meyering.net> | 1998-04-11 18:23:13 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-04-11 18:23:13 +0000 |
commit | 66c7b3c41d44c5153e9e7cc93eaffc3cddc0aadd (patch) | |
tree | 3c4b4812329548d22a003c2d7043b92a69aaba82 /src | |
parent | ac7b3c4fa9ed57b536207950255f71f0d0cd3448 (diff) | |
download | coreutils-66c7b3c41d44c5153e9e7cc93eaffc3cddc0aadd.tar.xz |
Include safe-read.h instead of merely declaring safe_read.
Diffstat (limited to 'src')
-rw-r--r-- | src/cat.c | 2 | ||||
-rw-r--r-- | src/wc.c | 3 |
2 files changed, 2 insertions, 3 deletions
@@ -32,13 +32,13 @@ #endif #include "system.h" #include "error.h" +#include "safe-read.h" /* Undefine, to avoid warning about redefinition on some systems. */ #undef max #define max(h,i) ((h) > (i) ? (h) : (i)) int full_write (); -int safe_read (); /* Name under which this program was invoked. */ char *program_name; @@ -29,12 +29,11 @@ #include "system.h" #include "error.h" #include "human.h" +#include "safe-read.h" /* Size of atomic reads. */ #define BUFFER_SIZE (16 * 1024) -int safe_read (); - /* The name this program was run with. */ char *program_name; |