summaryrefslogtreecommitdiff
path: root/src/stty.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-12-20 05:26:44 +0000
committerJim Meyering <jim@meyering.net>1994-12-20 05:26:44 +0000
commita9f1783e20a09e761fa29faec3f381978043cf88 (patch)
tree2ff01e7f6d7daa09d1b93374b0ccf86d649f120b /src/stty.c
parent6bb619d33cebde41f996b8fade52cbab91de6a14 (diff)
downloadcoreutils-a9f1783e20a09e761fa29faec3f381978043cf88.tar.xz
* src/*.c: Include "error.h" instead of simply declaring
`void error ();'.
Diffstat (limited to 'src/stty.c')
-rw-r--r--src/stty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stty.c b/src/stty.c
index 16351edf5..964a40a98 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -50,6 +50,7 @@
#include "system.h"
#include "version.h"
#include "long-options.h"
+#include "error.h"
#if defined(GWINSZ_BROKEN) /* Such as for SCO UNIX 3.2.2. */
#undef TIOCGWINSZ
@@ -161,8 +162,6 @@ static void set_control_char ();
static void set_speed ();
static void set_window_size ();
-void error ();
-
/* Which speeds to set. */
enum speed_setting
{