summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-05-29 22:40:49 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-05-29 22:40:49 -0500
commit96e69a56f752717e5036e8e362584205a6ecfef1 (patch)
tree95f3351b0ec29720865d526a3e9b2e8b35eb3a64 /usr.bin
parent581fc205166c171f794eab4e8d98962cdd1d4e0c (diff)
downloaduserland-96e69a56f752717e5036e8e362584205a6ecfef1.tar.gz
userland-96e69a56f752717e5036e8e362584205a6ecfef1.tar.bz2
userland-96e69a56f752717e5036e8e362584205a6ecfef1.tar.xz
userland-96e69a56f752717e5036e8e362584205a6ecfef1.zip
usr.bin/expand: make buildable with libbsd
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/expand/expand.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/usr.bin/expand/expand.c b/usr.bin/expand/expand.c
index c69fda1..8e4c279 100644
--- a/usr.bin/expand/expand.c
+++ b/usr.bin/expand/expand.c
@@ -29,21 +29,9 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-#ifndef lint
-__COPYRIGHT("@(#) Copyright (c) 1980, 1993\
- The Regents of the University of California. All rights reserved.");
-#endif /* not lint */
-
-#ifndef lint
-#if 0
-static char sccsid[] = "@(#)expand.c 8.1 (Berkeley) 6/9/93";
-#endif
-__RCSID("$NetBSD: expand.c,v 1.14 2016/09/05 00:40:28 sevan Exp $");
-#endif /* not lint */
-
#include <stdio.h>
#include <stdlib.h>
+#include <bsd/stdlib.h>
#include <ctype.h>
#include <unistd.h>
#include <err.h>
@@ -55,7 +43,7 @@ size_t nstops;
size_t tabstops[100];
static void getstops(const char *);
-static void usage(void) __dead;
+static void usage(void) __attribute__((noreturn));
int
main(int argc, char *argv[])