summaryrefslogtreecommitdiff
path: root/usr.bin/tip/cmdtab.c
diff options
context:
space:
mode:
authorMoritz Jodeit <moritz@cvs.openbsd.org>2006-03-17 14:43:07 +0000
committerMoritz Jodeit <moritz@cvs.openbsd.org>2006-03-17 14:43:07 +0000
commitb678932bdb4b0fd73d046c7eb934809c2e3e605d (patch)
tree5466b01c4a9586066e4adb231293812efc59be2a /usr.bin/tip/cmdtab.c
parent6d052bb0ddd1b432e9e85fc458c8d131d179f76e (diff)
big prototype cleanup:
o make more functions static o add all the prototypes to tip.h o consistently declare functions in the cmd table testing and ok dhill@
Diffstat (limited to 'usr.bin/tip/cmdtab.c')
-rw-r--r--usr.bin/tip/cmdtab.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/tip/cmdtab.c b/usr.bin/tip/cmdtab.c
index b0e7e00863a..99b563d7ad7 100644
--- a/usr.bin/tip/cmdtab.c
+++ b/usr.bin/tip/cmdtab.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmdtab.c,v 1.6 2006/03/16 19:32:46 deraadt Exp $ */
+/* $OpenBSD: cmdtab.c,v 1.7 2006/03/17 14:43:06 moritz Exp $ */
/* $NetBSD: cmdtab.c,v 1.3 1994/12/08 09:30:46 jtc Exp $ */
/*
@@ -34,15 +34,11 @@
#if 0
static char sccsid[] = "@(#)cmdtab.c 8.1 (Berkeley) 6/6/93";
#endif
-static const char rcsid[] = "$OpenBSD: cmdtab.c,v 1.6 2006/03/16 19:32:46 deraadt Exp $";
+static const char rcsid[] = "$OpenBSD: cmdtab.c,v 1.7 2006/03/17 14:43:06 moritz Exp $";
#endif /* not lint */
#include "tip.h"
-extern int shell(int), getfl(int), sendfile(int), chdirectory(int);
-extern int finish(int), help(int), pipefile(int), pipeout(int), consh(int), variable(int);
-extern int cu_take(int), cu_put(int), dollar(int), genbrk(int), suspend(int), listvariables(int);
-
esctable_t etable[] = {
{ '!', NORM, "shell", shell },
{ '<', NORM, "receive file from remote host", getfl },