summaryrefslogtreecommitdiff
path: root/bin/mt
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-12 04:36:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-12 04:36:03 +0000
commitb0b39202cc7dcba0365d7a2878224f09c12bbfcc (patch)
tree3c340ae7479bb010ed0c22186ed13986c01b8fb4 /bin/mt
parent016d4e63b47e9b016d3f2dde34c1be6624b22ff3 (diff)
add a variety of missing prototypes
Diffstat (limited to 'bin/mt')
-rw-r--r--bin/mt/mt.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/mt/mt.c b/bin/mt/mt.c
index 9d3dd66c90b..c9c8220ca19 100644
--- a/bin/mt/mt.c
+++ b/bin/mt/mt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mt.c,v 1.35 2011/05/05 19:51:48 krw Exp $ */
+/* $OpenBSD: mt.c,v 1.36 2013/11/12 04:36:02 deraadt Exp $ */
/* $NetBSD: mt.c,v 1.14.2.1 1996/05/27 15:12:11 mrg Exp $ */
/*
@@ -83,6 +83,11 @@ void printreg(char *, u_int, char *);
void status(struct mtget *);
void usage(void);
+int _rmtopendev(char *path, int oflags, int dflags, char **realpath);
+int _rmtmtioctop(int fd, struct mtop *com);
+struct mtget *_rmtstatus(int fd);
+void _rmtclose(void);
+
char *host = NULL; /* remote host (if any) */
int