From b0b39202cc7dcba0365d7a2878224f09c12bbfcc Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 12 Nov 2013 04:36:03 +0000 Subject: add a variety of missing prototypes --- bin/mt/mt.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bin/mt/mt.c') 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 -- cgit v1.2.3