From fba0ed115e4a91e749f42d7c2b762ad8d388e3aa Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 14 Apr 2000 06:03:39 +0000 Subject: [PATCH] Use #include rather than extern int errno;. --- bin/sh/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/sh/main.c b/bin/sh/main.c index 0587161614c..32eb82aabf0 100644 --- a/bin/sh/main.c +++ b/bin/sh/main.c @@ -54,7 +54,7 @@ static const char rcsid[] = #include #include #include - +#include #include "shell.h" #include "main.h" @@ -81,7 +81,6 @@ static const char rcsid[] = int rootpid; int rootshell; -extern int errno; #if PROFILE short profile_buf[16384]; extern int etext();