]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
* src/*.c: Include "error.h" instead of simply declaring
authorJim Meyering <jim@meyering.net>
Tue, 20 Dec 1994 05:26:44 +0000 (05:26 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 20 Dec 1994 05:26:44 +0000 (05:26 +0000)
`void error ();'.

login-utils/su.c

index a447a1a506f5f0c8319b6afff54a0ca090c31e62..b10fd15f5373ddb77cf06142f1294b6016fb8d54 100644 (file)
@@ -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 ();