summaryrefslogtreecommitdiff
path: root/src/tr.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-04-11 18:24:09 +0000
committerJim Meyering <jim@meyering.net>1998-04-11 18:24:09 +0000
commitb388203a65251b73dba040148039914062685c88 (patch)
tree8e3ef9af38a5d7232937ee76c4d1fe63efcb1603 /src/tr.c
parent66c7b3c41d44c5153e9e7cc93eaffc3cddc0aadd (diff)
downloadcoreutils-b388203a65251b73dba040148039914062685c88.tar.xz
Include safe-read.h instead of merely declaring safe_read.
Diffstat (limited to 'src/tr.c')
-rw-r--r--src/tr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tr.c b/src/tr.c
index 14f834329..68ba44c11 100644
--- a/src/tr.c
+++ b/src/tr.c
@@ -31,6 +31,7 @@
#include "system.h"
#include "error.h"
+#include "safe-read.h"
#define N_CHARS (UCHAR_MAX + 1)
@@ -205,8 +206,6 @@ struct E_string
and is not escaped itself. */
#define ES_MATCH(ES, I, C) ((ES)->s[(I)] == (C) && !(ES)->escaped[(I)])
-int safe_read ();
-
/* The name by which this program was run. */
char *program_name;