summaryrefslogtreecommitdiff
path: root/src/su.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/su.c
parent6bb619d33cebde41f996b8fade52cbab91de6a14 (diff)
downloadcoreutils-a9f1783e20a09e761fa29faec3f381978043cf88.tar.xz
* src/*.c: Include "error.h" instead of simply declaring
`void error ();'.
Diffstat (limited to 'src/su.c')
-rw-r--r--src/su.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/su.c b/src/su.c
index a447a1a50..b10fd15f5 100644
--- a/src/su.c
+++ b/src/su.c
@@ -121,6 +121,7 @@ uid_t getuid ();
#endif
#include "version.h"
+#include "error.h"
/* The default PATH for simulated logins to non-superuser accounts. */
#define DEFAULT_LOGIN_PATH ":/usr/ucb:/bin:/usr/bin"
@@ -144,7 +145,6 @@ char *basename ();
char *xmalloc ();
char *xrealloc ();
char *xstrdup ();
-void error ();
static char *concat ();
static int correct_password ();