diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-12 04:36:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-12 04:36:03 +0000 |
commit | b0b39202cc7dcba0365d7a2878224f09c12bbfcc (patch) | |
tree | 3c340ae7479bb010ed0c22186ed13986c01b8fb4 | |
parent | 016d4e63b47e9b016d3f2dde34c1be6624b22ff3 (diff) |
add a variety of missing prototypes
-rw-r--r-- | bin/chio/parse.y | 4 | ||||
-rw-r--r-- | bin/ksh/lex.c | 3 | ||||
-rw-r--r-- | bin/mt/mt.c | 7 | ||||
-rw-r--r-- | bin/rcp/rcp.c | 3 |
4 files changed, 13 insertions, 4 deletions
diff --git a/bin/chio/parse.y b/bin/chio/parse.y index 4f232c7a663..8bd2b37512c 100644 --- a/bin/chio/parse.y +++ b/bin/chio/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.14 2009/03/31 21:03:48 tobias Exp $ */ +/* $OpenBSD: parse.y,v 1.15 2013/11/12 04:36:01 deraadt Exp $ */ /* * Copyright (c) 2006 Bob Beck <beck@openbsd.org> @@ -51,6 +51,8 @@ int lookup(char *); int lgetc(int); int lungetc(int); int findeol(void); +char *parse_tapedev(const char *, const char *, int); +struct changer *new_changer(char *); struct changer { TAILQ_ENTRY(changer) entry; diff --git a/bin/ksh/lex.c b/bin/ksh/lex.c index 01aa6863c3b..d0b6addd3d5 100644 --- a/bin/ksh/lex.c +++ b/bin/ksh/lex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lex.c,v 1.47 2013/03/03 19:11:34 guenther Exp $ */ +/* $OpenBSD: lex.c,v 1.48 2013/11/12 04:36:02 deraadt Exp $ */ /* * lexical analysis and source input @@ -65,6 +65,7 @@ static Lex_state *push_state_(State_info *, Lex_state *); static Lex_state *pop_state_(State_info *, Lex_state *); static char *special_prompt_expand(char *); static int dopprompt(const char *, int, const char **, int); +int promptlen(const char *cp, const char **spp); static int backslash_skip; static int ignore_backslash_newline; 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 diff --git a/bin/rcp/rcp.c b/bin/rcp/rcp.c index aabe6992aa5..8c58b9c2937 100644 --- a/bin/rcp/rcp.c +++ b/bin/rcp/rcp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcp.c,v 1.52 2013/06/17 04:48:42 guenther Exp $ */ +/* $OpenBSD: rcp.c,v 1.53 2013/11/12 04:36:02 deraadt Exp $ */ /* $NetBSD: rcp.c,v 1.9 1995/03/21 08:19:06 cgd Exp $ */ /* @@ -93,6 +93,7 @@ void sink(int, char *[]); void source(int, char *[]); void tolocal(int, char *[]); void toremote(char *, int, char *[]); +int do_times(int fd, const struct stat *sb); void usage(void); int |