summaryrefslogtreecommitdiffstats
path: root/utils/idmapd/atomicio.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/idmapd/atomicio.c')
-rw-r--r--utils/idmapd/atomicio.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/idmapd/atomicio.c b/utils/idmapd/atomicio.c
index 93171a7..05e7147 100644
--- a/utils/idmapd/atomicio.c
+++ b/utils/idmapd/atomicio.c
@@ -36,11 +36,11 @@
* ensure all of data on socket comes through. f==read || f==write
*/
ssize_t
-atomicio(f, fd, _s, n)
- ssize_t (*f) ();
- 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;
ssize_t res, pos = 0;