Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib/istream-data.c @ 6420:a8b515e1a26f HEAD
Removed _ prefixes from function names.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 16 Sep 2007 13:25:23 +0300 |
parents | 3a960ffa5de8 |
children | 65c69a53a7be |
line wrap: on
line diff
--- a/src/lib/istream-data.c Sun Sep 16 12:51:41 2007 +0300 +++ b/src/lib/istream-data.c Sun Sep 16 13:25:23 2007 +0300 @@ -3,14 +3,14 @@ #include "lib.h" #include "istream-internal.h" -static ssize_t _read(struct istream_private *stream ATTR_UNUSED) +static ssize_t i_stream_data_read(struct istream_private *stream) { stream->istream.eof = TRUE; return -1; } -static void _seek(struct istream_private *stream, uoff_t v_offset, - bool mark ATTR_UNUSED) +static void i_stream_data_seek(struct istream_private *stream, uoff_t v_offset, + bool mark ATTR_UNUSED) { stream->skip = v_offset; stream->istream.v_offset = v_offset; @@ -24,8 +24,8 @@ stream->buffer = data; stream->pos = size; - stream->read = _read; - stream->seek = _seek; + stream->read = i_stream_data_read; + stream->seek = i_stream_data_seek; stream->istream.blocking = TRUE; stream->istream.seekable = TRUE;