Get errno from <errno.h>, not from extern int.

Add $FreeBSD$ to hopefully the right place.
This commit is contained in:
Warner Losh 2000-09-04 03:54:23 +00:00
parent e9d918edb6
commit 5f7da319ab
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,5 @@
/* $FreeBSD$ */
/*
* Copyright 1987, 1988 by MIT Student Information Processing Board
*
@ -8,13 +10,12 @@
#include <sys/file.h>
#include <sys/wait.h>
#include <dirent.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#include "ss_internal.h"
#include "copyright.h"
extern int errno;
void ss_help (argc, argv, sci_idx, info_ptr)
int argc;
char const * const *argv;

View File

@ -1,3 +1,5 @@
/* $FreeBSD$ */
/*
* Pager: Routines to create a "more" running out of a particular file
* descriptor.
@ -9,6 +11,7 @@
#include "ss_internal.h"
#include "copyright.h"
#include <errno.h>
#include <stdio.h>
#include <sys/file.h>
#include <signal.h>
@ -17,7 +20,6 @@
static char MORE[] = "more";
extern char *_ss_pager_name;
extern char *getenv();
extern int errno;
/*
* this needs a *lot* of work....