summaryrefslogtreecommitdiff
path: root/src/fmt.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-12-16 05:41:05 +0000
committerJim Meyering <jim@meyering.net>1994-12-16 05:41:05 +0000
commit8d6c6946ddc86f8af7c2cad20bc4209ee5b3f88b (patch)
treedd8c1bc685db44816d2aff94074544262ea1e3ce /src/fmt.c
parent029fcaa9139e51beb6afa0b96670c684260e8bfa (diff)
downloadcoreutils-8d6c6946ddc86f8af7c2cad20bc4209ee5b3f88b.tar.xz
Include "error.h" instead of simply declaring `void error ();'.
Diffstat (limited to 'src/fmt.c')
-rw-r--r--src/fmt.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/fmt.c b/src/fmt.c
index 2f9cd8ad6..be4fe3045 100644
--- a/src/fmt.c
+++ b/src/fmt.c
@@ -25,6 +25,7 @@
#include "system.h"
#include "version.h"
+#include "error.h"
/* The following parameters represent the program's idea of what is
"best". Adjust to taste, subject to the caveats given. */
@@ -144,12 +145,6 @@ struct Word
#define _(x) ()
#endif
-#ifdef HAVE_VPRINTF
-void error _ ((int, int, const char *,...));
-#else
-void error ();
-#endif
-
static void set_prefix _ ((char *p));
static void fmt _ ((FILE *f));
static bool get_paragraph _ ((FILE *f));