summaryrefslogtreecommitdiff
path: root/src/null.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-10-26 02:53:57 +0200
committerLennart Poettering <lennart@poettering.net>2008-10-26 02:53:57 +0200
commitc2b9e5fc4544a0745e24ffebe3fd9a03ac93315b (patch)
tree8be170c130b91235e4539bff5a93e885257ce664 /src/null.c
parent87a3c225455870580a1945b74d1dfcfc32be19d0 (diff)
downloadlibcanberra-c2b9e5fc4544a0745e24ffebe3fd9a03ac93315b.tar.gz
make _change_device() call take a const string
Diffstat (limited to 'src/null.c')
-rw-r--r--src/null.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/null.c b/src/null.c
index 683550e..da91e44 100644
--- a/src/null.c
+++ b/src/null.c
@@ -41,7 +41,7 @@ int driver_destroy(ca_context *c) {
return CA_SUCCESS;
}
-int driver_change_device(ca_context *c, char *device) {
+int driver_change_device(ca_context *c, const char *device) {
ca_return_val_if_fail(c, CA_ERROR_INVALID);
return CA_SUCCESS;