diff options
author | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2019-07-19 20:24:05 -0500 |
---|---|---|
committer | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2019-07-19 20:24:05 -0500 |
commit | 9fbfdbc5316981cdd27525320c0fe3740e9d086f (patch) | |
tree | 403bada585cb3873ea832795293122579d9f9fba /bin/ed/main.c | |
parent | 1ef2cb5ef9016fc48a8c542b816fa16340170449 (diff) | |
download | userland-9fbfdbc5316981cdd27525320c0fe3740e9d086f.tar.gz userland-9fbfdbc5316981cdd27525320c0fe3740e9d086f.tar.bz2 userland-9fbfdbc5316981cdd27525320c0fe3740e9d086f.tar.xz userland-9fbfdbc5316981cdd27525320c0fe3740e9d086f.zip |
bin/ed: make buildable with libbsd
Diffstat (limited to 'bin/ed/main.c')
-rw-r--r-- | bin/ed/main.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/bin/ed/main.c b/bin/ed/main.c index f86148a..36d111b 100644 --- a/bin/ed/main.c +++ b/bin/ed/main.c @@ -28,21 +28,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> -#ifndef lint -__COPYRIGHT( -"@(#) Copyright (c) 1993 Andrew Moore, Talke Studio.\ - All rights reserved."); -#endif /* not lint */ - -#ifndef lint -#if 0 -static char *rcsid = "@(#)main.c,v 1.1 1994/02/01 00:34:42 alm Exp"; -#else -__RCSID("$NetBSD: main.c,v 1.30 2018/06/18 14:56:24 christos Exp $"); -#endif -#endif /* not lint */ - /* * CREDITS * @@ -65,6 +50,7 @@ __RCSID("$NetBSD: main.c,v 1.30 2018/06/18 14:56:24 christos Exp $"); #include <ctype.h> #include <setjmp.h> #include <pwd.h> +#include <bsd/stdlib.h> #include "ed.h" |