mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 17:32:43 +00:00
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:
parent
df28f2b764
commit
0d39b3903f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60770
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user