summaryrefslogtreecommitdiff
path: root/src/head.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/head.c
parent66c7b3c41d44c5153e9e7cc93eaffc3cddc0aadd (diff)
downloadcoreutils-b388203a65251b73dba040148039914062685c88.tar.xz
Include safe-read.h instead of merely declaring safe_read.
Diffstat (limited to 'src/head.c')
-rw-r--r--src/head.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/head.c b/src/head.c
index d7df731c1..42f76e423 100644
--- a/src/head.c
+++ b/src/head.c
@@ -1,5 +1,5 @@
/* head -- output first part of file(s)
- Copyright (C) 89, 90, 91, 95, 96, 1997 Free Software Foundation, Inc.
+ Copyright (C) 89, 90, 91, 95, 96, 1997, 1998 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -32,6 +32,7 @@
#include "system.h"
#include "error.h"
#include "xstrtoul.h"
+#include "safe-read.h"
/* FIXME: someday, make this really *be* `long long'. */
typedef long int U_LONG_LONG;
@@ -51,8 +52,6 @@ enum header_mode
multiple_files, always, never
};
-int safe_read ();
-
/* The name this program was run with. */
char *program_name;