Add $FreeBSD$ so I can commit:

Remove extern int errno;.  Instead include the ANSI <errno.h>.  No
functional changes, just a higher level of pedantry.
This commit is contained in:
Warner Losh 2000-05-22 05:49:31 +00:00
parent df28f2b764
commit 0d39b3903f
1 changed files with 6 additions and 4 deletions

View File

@ -34,19 +34,21 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#if !defined(lint) && !defined(SCCSID) #if !defined(lint)
#if 0
static char sccsid[] = "@(#)read.c 8.1 (Berkeley) 6/4/93"; static char sccsid[] = "@(#)read.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint && not SCCSID */ #endif /* not lint && not SCCSID */
/* /*
* read.c: Clean this junk up! This is horrible code. * read.c: Clean this junk up! This is horrible code.
* Terminal read functions * Terminal read functions
*/ */
#include "sys.h" #include "sys.h"
#include <sys/errno.h> #include <errno.h>
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
extern int errno;
#include "el.h" #include "el.h"
#define OKCMD -1 #define OKCMD -1