path: root/sync_pipe.h
diff options
authorGuy Harris <guy@alum.mit.edu>2008-06-23 21:24:48 +0000
committerGuy Harris <guy@alum.mit.edu>2008-06-23 21:24:48 +0000
commitddb5a7a13f184e2273540ffa257b15ebbdffc9af (patch)
tree28d1bba7d54f83d2bfd9fc318e9c0ac645084a6b /sync_pipe.h
parent802d9abf4f12b9b8fc50ec5c66fc4ee71e6609b2 (diff)
Rename an argument to avoid colliding with pipe().
svn path=/trunk/; revision=25555
Diffstat (limited to 'sync_pipe.h')
1 files changed, 3 insertions, 3 deletions
diff --git a/sync_pipe.h b/sync_pipe.h
index 51c3cd5fa3..5b1062f7ab 100644
--- a/sync_pipe.h
+++ b/sync_pipe.h
@@ -63,18 +63,18 @@
/* write a single message header to the recipient pipe */
extern int
-pipe_write_header(int pipe, char indicator, int length);
+pipe_write_header(int pipe_fd, char indicator, int length);
/* write a message to the recipient pipe in the standard format
(3 digit message length (excluding length and indicator field),
1 byte message indicator and the rest is the message).
If msg is NULL, the message has only a length and indicator. */
extern void
-pipe_write_block(int pipe, char indicator, const char *msg);
+pipe_write_block(int pipe_fd, char indicator, const char *msg);
/** the child encountered an error, notify the parent */
extern void
-sync_pipe_errmsg_to_parent(int pipe, const char *error_msg,
+sync_pipe_errmsg_to_parent(int pipe_fd, const char *error_msg,
const char *secondary_error_msg);
#endif /* sync_pipe.h */