diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-05-14 00:36:06 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-05-14 00:36:06 +0000 |
commit | e46f8f8eb3fd586f8728e43292509434e0e8b089 (patch) | |
tree | e7fd3f4ad5eabfc68f7fdbcd4abfe4cf6f8f7176 /src/polypcore | |
parent | 682dfd7adb8aec8d17706a224c6ac24b9b2c08d9 (diff) |
modify argument order of pa_client_new() to actually match how it is usually called
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@857 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polypcore')
-rw-r--r-- | src/polypcore/client.c | 2 | ||||
-rw-r--r-- | src/polypcore/client.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/polypcore/client.c b/src/polypcore/client.c index 852f87b0..be970470 100644 --- a/src/polypcore/client.c +++ b/src/polypcore/client.c @@ -34,7 +34,7 @@ #include "client.h" -pa_client *pa_client_new(pa_core *core, const char *name, const char *driver) { +pa_client *pa_client_new(pa_core *core, const char *driver, const char *name) { pa_client *c; int r; assert(core); diff --git a/src/polypcore/client.h b/src/polypcore/client.h index 8ddc6d94..f6ff935d 100644 --- a/src/polypcore/client.h +++ b/src/polypcore/client.h @@ -42,7 +42,7 @@ struct pa_client { void *userdata; }; -pa_client *pa_client_new(pa_core *c, const char *name, const char *driver); +pa_client *pa_client_new(pa_core *c, const char *driver, const char *name); /* This function should be called only by the code that created the client */ void pa_client_free(pa_client *c); |