From 66c7b3c41d44c5153e9e7cc93eaffc3cddc0aadd Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 11 Apr 1998 18:23:13 +0000 Subject: Include safe-read.h instead of merely declaring safe_read. --- src/cat.c | 2 +- src/wc.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/cat.c b/src/cat.c index 4f054d3ce..7e8e54ad8 100644 --- a/src/cat.c +++ b/src/cat.c @@ -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; diff --git a/src/wc.c b/src/wc.c index 7ee31f9be..da05631a8 100644 --- a/src/wc.c +++ b/src/wc.c @@ -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; -- cgit v1.2.3-70-g09d2