summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/top/screen.c14
-rw-r--r--usr.bin/top/screen.h3
2 files changed, 2 insertions, 15 deletions
diff --git a/usr.bin/top/screen.c b/usr.bin/top/screen.c
index ea983c3163f..7c633408a7f 100644
--- a/usr.bin/top/screen.c
+++ b/usr.bin/top/screen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: screen.c,v 1.18 2007/06/10 19:10:06 otto Exp $ */
+/* $OpenBSD: screen.c,v 1.19 2008/09/24 18:53:55 chl Exp $ */
/*
* Top users/processes display for Unix
@@ -214,15 +214,3 @@ go_home(void)
refresh();
}
}
-
-/* This has to be defined as a subroutine for tputs (instead of a macro) */
-int
-putstdout(int ch)
-{
- int ret;
-
- ret = putchar(ch);
- if (ret == EOF)
- exit(1);
- return (ret);
-}
diff --git a/usr.bin/top/screen.h b/usr.bin/top/screen.h
index 1b1af60df4b..1c3cfc2cccd 100644
--- a/usr.bin/top/screen.h
+++ b/usr.bin/top/screen.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: screen.h,v 1.5 2007/05/29 00:56:56 otto Exp $ */
+/* $OpenBSD: screen.h,v 1.6 2008/09/24 18:53:55 chl Exp $ */
/*
* Top users/processes display for Unix
@@ -53,4 +53,3 @@ extern void end_screen(void);
extern void reinit_screen(void);
extern void get_screensize(void);
extern void go_home(void);
-extern int putstdout(int);