diff options
author | Damien Miller <djm@mindrot.org> | 2006-04-23 04:05:16 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-04-23 04:05:16 +0200 |
commit | 3db78468024de933202248e0a89bd22d5364f4fe (patch) | |
tree | 629c1c16efe2878c486fce0a63c421f6e25993f0 /atomicio.c | |
parent | - djm@cvs.openbsd.org 2006/04/01 05:50:29 (diff) | |
download | openssh-3db78468024de933202248e0a89bd22d5364f4fe.tar.xz openssh-3db78468024de933202248e0a89bd22d5364f4fe.zip |
- djm@cvs.openbsd.org 2006/04/01 05:51:34
[atomicio.c]
ANSIfy; requested deraadt@
Diffstat (limited to '')
-rw-r--r-- | atomicio.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/atomicio.c b/atomicio.c index 87fb9fe75..996beff2f 100644 --- a/atomicio.c +++ b/atomicio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atomicio.c,v 1.16 2006/03/25 13:17:01 djm Exp $ */ +/* $OpenBSD: atomicio.c,v 1.17 2006/04/01 05:51:34 djm Exp $ */ /* * Copyright (c) 2005 Anil Madhavapeddy. All rights reserved. * Copyright (c) 1995,1999 Theo de Raadt. All rights reserved. @@ -33,11 +33,7 @@ * ensure all of data on socket comes through. f==read || f==vwrite */ size_t -atomicio(f, fd, _s, n) - ssize_t (*f) (int, void *, size_t); - int fd; - void *_s; - size_t n; +atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) { char *s = _s; size_t pos = 0; |