summaryrefslogtreecommitdiff
path: root/usr.bin/top/screen.h
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-08-22 07:16:33 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-08-22 07:16:33 +0000
commitc9472505493d5f5e2409aeecbc730dedbb7d4235 (patch)
treeae90a095aacc5e01432209b4a27464d8e50b9bdb /usr.bin/top/screen.h
parent019f161f4d8dcef738321fbe602f155dda8c6897 (diff)
First sweep. Prototype, type fixes, long fixes, mostly compiles with
-Wall.
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));