summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-03 07:13:40 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-03 07:13:40 -0500
commit80b0d7c42ea2a8a087739df38e496a014582fd60 (patch)
treebb21feb82f23689a24725e014fe3587a7e8ec080
parentf77808ea5c16e8991c7f93053adb9a456b41a24e (diff)
downloaduserland-80b0d7c42ea2a8a087739df38e496a014582fd60.tar.gz
userland-80b0d7c42ea2a8a087739df38e496a014582fd60.tar.bz2
userland-80b0d7c42ea2a8a087739df38e496a014582fd60.tar.xz
userland-80b0d7c42ea2a8a087739df38e496a014582fd60.zip
usr.bin/nl: make buildable with libbsd
-rw-r--r--usr.bin/nl/nl.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/nl/nl.c b/usr.bin/nl/nl.c
index 14054ad..1b4ede4 100644
--- a/usr.bin/nl/nl.c
+++ b/usr.bin/nl/nl.c
@@ -29,19 +29,13 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-#ifndef lint
-__COPYRIGHT("@(#) Copyright (c) 1999\
- The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: nl.c,v 1.12 2013/09/17 20:00:50 wiz Exp $");
-#endif
-
#include <errno.h>
#include <limits.h>
#include <locale.h>
#include <regex.h>
#include <stdio.h>
#include <stdlib.h>
+#include <bsd/stdlib.h>
#include <string.h>
#include <unistd.h>
#include <err.h>