summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-05-14 00:36:06 +0000
committerLennart Poettering <lennart@poettering.net>2006-05-14 00:36:06 +0000
commite46f8f8eb3fd586f8728e43292509434e0e8b089 (patch)
treee7fd3f4ad5eabfc68f7fdbcd4abfe4cf6f8f7176 /src
parent682dfd7adb8aec8d17706a224c6ac24b9b2c08d9 (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')
-rw-r--r--src/polypcore/client.c2
-rw-r--r--src/polypcore/client.h2
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);