summaryrefslogtreecommitdiff
path: root/usr.bin/top/screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/top/screen.h')
-rw-r--r--usr.bin/top/screen.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/usr.bin/top/screen.h b/usr.bin/top/screen.h
index 1d8fedfb573..c20a5054e11 100644
--- a/usr.bin/top/screen.h
+++ b/usr.bin/top/screen.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: screen.h,v 1.1 1997/08/14 14:00:24 downsj Exp $ */
+/* $OpenBSD: screen.h,v 1.2 1997/08/22 07:16:30 downsj Exp $ */
/*
* top - a top users display for Unix 4.2
@@ -11,10 +11,6 @@
#define putcap(str) (void)((str) != NULL ? TCputs(str) : 0)
#define Move_to(x, y) TCputs(tgoto(cursor_motion, x, y))
-/* declare return values for termcap functions */
-char *tgetstr();
-char *tgoto();
-
extern char ch_erase; /* set to the user's erase character */
extern char ch_kill; /* set to the user's kill character */
extern char smart_terminal; /* set if the terminal has sufficient termcap
@@ -29,5 +25,14 @@ extern char *clear_to_end;
extern int screen_length;
extern int screen_width;
-/* a function that puts a single character on stdout */
-int putstdout();
+/* prototypes from screen.c */
+extern void init_termcap __P((int));
+extern void init_screen __P((void));
+extern void end_screen __P((void));
+extern void reinit_screen __P((void));
+extern void get_screensize __P((void));
+extern void standout __P((char *));
+extern void clear __P((void));
+extern int clear_eol __P((int));
+extern void go_home __P((void));
+extern int putstdout __P((int));