diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-08-30 17:33:07 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-08-30 17:33:07 -0700 |
commit | a848893d85cd027d831ba0ecae9dacef0a5f0605 (patch) | |
tree | 0090036a5036ab3d7f8dce1cd35477536253e46d /src/normalize.h | |
parent | aa2fcfa7574ebdf3e348c051e496797841aa4f1d (diff) | |
download | mpd-a848893d85cd027d831ba0ecae9dacef0a5f0605.tar.gz mpd-a848893d85cd027d831ba0ecae9dacef0a5f0605.tar.xz mpd-a848893d85cd027d831ba0ecae9dacef0a5f0605.zip |
ringbuf: create a new struct rbvec instead of reusing struct iovec
Using struct iovec means having to cast iov_base everywhere
we want to do pointer arithmetic. Instead, just use rbvec
which can be safely casted to iovec whenever we use
the readv/writev functions.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions