summaryrefslogtreecommitdiff
path: root/atomicio.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-04-23 12:05:16 +1000
committerDamien Miller <djm@mindrot.org>2006-04-23 12:05:16 +1000
commit3db78468024de933202248e0a89bd22d5364f4fe (patch)
tree629c1c16efe2878c486fce0a63c421f6e25993f0 /atomicio.c
parent7a656f792207bacd1148eb962919202908d83e9c (diff)
downloadopenssh-git-3db78468024de933202248e0a89bd22d5364f4fe.tar.gz
- djm@cvs.openbsd.org 2006/04/01 05:51:34
[atomicio.c] ANSIfy; requested deraadt@
Diffstat (limited to 'atomicio.c')
-rw-r--r--atomicio.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/atomicio.c b/atomicio.c
index 87fb9fe7..996beff2 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;