upgrade atomicio

in order to remove K&R code in atomicio.c

now, vwrite comes from atomicio.h
This commit is contained in:
Francois Perrad
2016-03-25 12:05:17 +01:00
parent 37a66fa5b6
commit ecb4a6173d
5 changed files with 23 additions and 32 deletions

View File

@@ -12,9 +12,6 @@
* called by a name other than "ssh" or "Secure Shell".
*/
/* actually from atomicio, but is only used in scp code */
#define vwrite (ssize_t (*)(int, void *, size_t))write
char *chop(char *);
char *strdelim(char **);
void set_nonblock(int);