summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2013-04-05 11:17:55 +0200
committerDavid Henningsson <david.henningsson@canonical.com>2013-04-08 14:58:30 +0200
commitb13d7000181324073a64ffe93029079224612a1f (patch)
tree7119f0a18c803c4063d2b8c596bfaf7efe9c9ee8
parent6eecb2f3f3cca6286b3f85751b2a74a227394836 (diff)
pstream: Rename "do_something" function
Rename it to "do_pstream_read_write" that better describes what the function does. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
-rw-r--r--src/pulsecore/pstream.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pulsecore/pstream.c b/src/pulsecore/pstream.c
index c0262a74..7538a86c 100644
--- a/src/pulsecore/pstream.c
+++ b/src/pulsecore/pstream.c
@@ -168,7 +168,7 @@ struct pa_pstream {
static int do_write(pa_pstream *p);
static int do_read(pa_pstream *p);
-static void do_something(pa_pstream *p) {
+static void do_pstream_read_write(pa_pstream *p) {
pa_assert(p);
pa_assert(PA_REFCNT_VALUE(p) > 0);
@@ -206,7 +206,7 @@ static void io_callback(pa_iochannel*io, void *userdata) {
pa_assert(PA_REFCNT_VALUE(p) > 0);
pa_assert(p->io == io);
- do_something(p);
+ do_pstream_read_write(p);
}
static void defer_callback(pa_mainloop_api *m, pa_defer_event *e, void*userdata) {
@@ -217,7 +217,7 @@ static void defer_callback(pa_mainloop_api *m, pa_defer_event *e, void*userdata)
pa_assert(p->defer_event == e);
pa_assert(p->mainloop == m);
- do_something(p);
+ do_pstream_read_write(p);
}
static void memimport_release_cb(pa_memimport *i, uint32_t block_id, void *userdata);