summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-08 05:27:33 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-08 05:27:33 -0500
commit53a42eece518ee9459c9c1718ad02e83417573e1 (patch)
tree781cee3ca0f4bf674d92b8ead15124c2f3d7a8e7
parentca8d28ae0acfd2556c86da9b0e8d645f642b83be (diff)
downloaduserland-53a42eece518ee9459c9c1718ad02e83417573e1.tar.gz
userland-53a42eece518ee9459c9c1718ad02e83417573e1.tar.bz2
userland-53a42eece518ee9459c9c1718ad02e83417573e1.tar.xz
userland-53a42eece518ee9459c9c1718ad02e83417573e1.zip
usr.bin/tabs: 90% buildable, needs curses work
-rw-r--r--usr.bin/tabs/tabs.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.bin/tabs/tabs.c b/usr.bin/tabs/tabs.c
index 9e017a0..e2a294b 100644
--- a/usr.bin/tabs/tabs.c
+++ b/usr.bin/tabs/tabs.c
@@ -29,13 +29,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-#ifndef lint
-__COPYRIGHT("@(#) Copyright (c) 2008 \
-The NetBSD Foundation, inc. All rights reserved.");
-__RCSID("$NetBSD: tabs.c,v 1.5 2019/02/01 08:29:04 mrg Exp $");
-#endif /* not lint */
-
#include <sys/ioctl.h>
#include <sys/types.h>
@@ -45,7 +38,6 @@ __RCSID("$NetBSD: tabs.c,v 1.5 2019/02/01 08:29:04 mrg Exp $");
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <term.h>
#include <unistd.h>
#define NSTOPS 20
@@ -67,7 +59,7 @@ static const struct tabspec tabspecs[] = {
};
static const size_t ntabspecs = sizeof(tabspecs) / sizeof(tabspecs[0]);
-__dead static void
+static void
usage(void)
{
fprintf(stderr,