aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/chroot/chroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/chroot/chroot.c')
-rw-r--r--usr.sbin/chroot/chroot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/chroot/chroot.c b/usr.sbin/chroot/chroot.c
index 7b803946f50d..e38b595294ac 100644
--- a/usr.sbin/chroot/chroot.c
+++ b/usr.sbin/chroot/chroot.c
@@ -43,13 +43,14 @@ static char sccsid[] = "@(#)chroot.c 5.8 (Berkeley) 6/1/90";
#include <stdio.h>
#include <paths.h>
+extern char *getenv(), *strerror();
main(argc, argv)
int argc;
char **argv;
{
extern int errno;
- char *shell, *getenv(), *strerror();
+ char *shell;
if (argc < 2) {
(void)fprintf(stderr, "usage: chroot newroot [command]\n");