From ec5a6f8c5e93048f1b8d805d6858b0c8b49a30c8 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 26 Dec 2012 12:14:59 +0000 Subject: pipe_write_header() should return ssize_t, as it returns the return value from write(), which, at least on UN*X, is ssize_t. svn path=/trunk/; revision=46779 --- sync_pipe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sync_pipe.h') diff --git a/sync_pipe.h b/sync_pipe.h index e35ee99dce..1be428db98 100644 --- a/sync_pipe.h +++ b/sync_pipe.h @@ -63,7 +63,7 @@ #define SP_QUIT 'Q' /* "gracefully" capture quit message (SIGUSR1) */ /* write a single message header to the recipient pipe */ -extern size_t +extern ssize_t pipe_write_header(int pipe_fd, char indicator, int length); /* write a message to the recipient pipe in the standard format -- cgit v1.2.3