summaryrefslogtreecommitdiff
path: root/usr.bin/tip/tip.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-16 19:32:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-16 19:32:47 +0000
commita397a40b7c93265cb2ed617a6612f3db999b591c (patch)
tree496d239526cc99d20c475362d2152ebe207d005c /usr.bin/tip/tip.h
parente50a27ad82d19d68cc60eda00477acb2b2b7a5f3 (diff)
first pass of cleanup of this mess; ok dhill
Diffstat (limited to 'usr.bin/tip/tip.h')
-rw-r--r--usr.bin/tip/tip.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/tip/tip.h b/usr.bin/tip/tip.h
index 88429c5cad1..9347383a468 100644
--- a/usr.bin/tip/tip.h
+++ b/usr.bin/tip/tip.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tip.h,v 1.18 2004/05/26 18:17:59 deraadt Exp $ */
+/* $OpenBSD: tip.h,v 1.19 2006/03/16 19:32:46 deraadt Exp $ */
/* $NetBSD: tip.h,v 1.7 1997/04/20 00:02:46 mellon Exp $ */
/*
@@ -165,10 +165,10 @@ typedef
typedef
struct {
- char e_char; /* char to match on */
- char e_flags; /* experimental, privileged */
- char *e_help; /* help string */
- int (*e_func)(); /* command */
+ char e_char; /* char to match on */
+ char e_flags; /* experimental, privileged */
+ char *e_help; /* help string */
+ int (*e_func)(int); /* command */
}
esctable_t;
@@ -269,9 +269,9 @@ extern int disc; /* current tty discpline */
extern char *__progname; /* program name */
-extern char *ctrl();
-extern char *vinterp();
-extern char *connect();
+extern char *ctrl(char c);
+extern char *vinterp(char *, int);
+extern char *con(void);
char *sname(char *s);
int any(int cc, char *p);