summaryrefslogtreecommitdiff
path: root/src/who.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/who.c
parent6bb619d33cebde41f996b8fade52cbab91de6a14 (diff)
downloadcoreutils-a9f1783e20a09e761fa29faec3f381978043cf88.tar.xz
* src/*.c: Include "error.h" instead of simply declaring
`void error ();'.
Diffstat (limited to 'src/who.c')
-rw-r--r--src/who.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/who.c b/src/who.c
index 1d768fc79..2cdbc5712 100644
--- a/src/who.c
+++ b/src/who.c
@@ -53,6 +53,7 @@
#include "system.h"
#include "version.h"
#include "safe-stat.h"
+#include "error.h"
#if !defined (UTMP_FILE) && defined (_PATH_UTMP) /* 4.4BSD. */
#define UTMP_FILE _PATH_UTMP
@@ -85,7 +86,6 @@
#endif /* USERS */
#endif /* WHO */
-void error ();
int gethostname ();
char *ttyname ();
char *xmalloc ();