aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tput
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1994-09-23 09:59:11 +0000
committerDavid Greenman <dg@FreeBSD.org>1994-09-23 09:59:11 +0000
commitffaf90b1ecd438f3b680fe2b0cf0ecb92bf85ba3 (patch)
tree57b5282de1c749a11db158c8de71d04b840af39c /usr.bin/tput
parentc0a88f5efad9a373ce24a7c36ac4e41c5477d4c5 (diff)
Notes
Diffstat (limited to 'usr.bin/tput')
-rw-r--r--usr.bin/tput/tput.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/usr.bin/tput/tput.c b/usr.bin/tput/tput.c
index 8da0be7b7986b..cfc5be69f3857 100644
--- a/usr.bin/tput/tput.c
+++ b/usr.bin/tput/tput.c
@@ -49,9 +49,10 @@ static char sccsid[] = "@(#)tput.c 8.2 (Berkeley) 3/19/94";
#include <stdlib.h>
#include <unistd.h>
+#define outc putchar
+
static void prlongname __P((char *));
static void setospeed __P((void));
-static void outc __P((int));
static void usage __P((void));
static char **process __P((char *, char *, char **));
@@ -212,13 +213,6 @@ setospeed()
}
static void
-outc(c)
- int c;
-{
- (void)putchar(c);
-}
-
-static void
usage()
{
(void)fprintf(stderr, "usage: tput [-T term] attribute ...\n");