diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-12 13:54:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-12 13:54:52 +0000 |
commit | 769d27bfd8d598bed294304a0b6d36f6a200ed07 (patch) | |
tree | 25c784d8964580517aa4c0cc2c3a45dc67f1ca0e /usr.bin/cu | |
parent | bde1ca3cfc1caa4c3d1ce29de79212df84e68e72 (diff) |
simpler prototype repairs
Diffstat (limited to 'usr.bin/cu')
-rw-r--r-- | usr.bin/cu/command.c | 4 | ||||
-rw-r--r-- | usr.bin/cu/xmodem.c | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/usr.bin/cu/command.c b/usr.bin/cu/command.c index 54e6490ca19..5c6a1f09399 100644 --- a/usr.bin/cu/command.c +++ b/usr.bin/cu/command.c @@ -1,4 +1,4 @@ -/* $OpenBSD: command.c,v 1.12 2012/07/15 06:55:28 nicm Exp $ */ +/* $OpenBSD: command.c,v 1.13 2013/11/12 13:54:51 deraadt Exp $ */ /* * Copyright (c) 2012 Nicholas Marriott <nicm@openbsd.org> @@ -36,6 +36,8 @@ void pipe_command(void); void connect_command(void); void send_file(void); void send_xmodem(void); +void set_speed(void); +void start_record(void); void pipe_command(void) diff --git a/usr.bin/cu/xmodem.c b/usr.bin/cu/xmodem.c index b0427acf5bb..c42441feb05 100644 --- a/usr.bin/cu/xmodem.c +++ b/usr.bin/cu/xmodem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xmodem.c,v 1.5 2013/07/20 19:27:47 naddy Exp $ */ +/* $OpenBSD: xmodem.c,v 1.6 2013/11/12 13:54:51 deraadt Exp $ */ /* * Copyright (c) 2012 Nicholas Marriott <nicm@openbsd.org> @@ -39,6 +39,11 @@ volatile sig_atomic_t xmodem_stop; +void xmodem_signal(int sig); +uint16_t xmodem_crc16(const u_char *buf, size_t len); +int xmodem_read(char *c); +int xmodem_write(const u_char *buf, size_t len); + void xmodem_signal(int sig) { |