diff options
author | imp <imp@FreeBSD.org> | 2000-04-14 06:39:19 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2000-04-14 06:39:19 +0000 |
commit | 4721d7ef435f4d79e92d8d98ba9b645bb25993fb (patch) | |
tree | c7963b41252b2e47e3e9896854edbbb0300e6576 /usr.bin/more | |
parent | 7fec3d2787608459e561d33aa2c5f4370c7eb11f (diff) | |
download | FreeBSD-src-4721d7ef435f4d79e92d8d98ba9b645bb25993fb.zip FreeBSD-src-4721d7ef435f4d79e92d8d98ba9b645bb25993fb.tar.gz |
#include <errno.h> where needed. Kill extern int errno;.
Minor warnings in tip corrected.
Diffstat (limited to 'usr.bin/more')
-rw-r--r-- | usr.bin/more/os.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/more/os.c b/usr.bin/more/os.c index 208494d..a922f47 100644 --- a/usr.bin/more/os.c +++ b/usr.bin/more/os.c @@ -30,6 +30,8 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. + * + * $FreeBSD$ */ #ifndef lint @@ -51,6 +53,7 @@ static char sccsid[] = "@(#)os.c 8.1 (Berkeley) 6/6/93"; #include <sys/param.h> #include <sys/stat.h> #include <sys/file.h> +#include <errno.h> #include <signal.h> #include <setjmp.h> #include <stdio.h> @@ -250,7 +253,6 @@ bad_file(filename, message, len) char *filename, *message; u_int len; { - extern int errno; struct stat statbuf; char *strcat(), *strerror(); |