Permalink
Browse files

unix: make uv__read_start_common() static

  • Loading branch information...
1 parent 35b159a commit a2bedc0a7ea3ead6712f00777a10435040947c93 @bnoordhuis bnoordhuis committed Jan 6, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/unix/stream.c
View
@@ -1210,8 +1210,10 @@ int uv_write(uv_write_t* req, uv_stream_t* stream, uv_buf_t bufs[], int bufcnt,
}
-int uv__read_start_common(uv_stream_t* stream, uv_alloc_cb alloc_cb,
- uv_read_cb read_cb, uv_read2_cb read2_cb) {
+static int uv__read_start_common(uv_stream_t* stream,
+ uv_alloc_cb alloc_cb,
+ uv_read_cb read_cb,
+ uv_read2_cb read2_cb) {
assert(stream->type == UV_TCP || stream->type == UV_NAMED_PIPE ||
stream->type == UV_TTY);

0 comments on commit a2bedc0

Please sign in to comment.