summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <benjaminfranzke@googlemail.com>2010-10-21 18:00:00 +0200
committerben <benjaminfranzke@googlemail.com>2010-10-21 18:00:00 +0200
commite931bee328da0586759a427dfe0a5410d32ddf28 (patch)
tree0b4018de885087db9b114c6383ee440e205f3ba2
parent745d34adbf96c12b613a88e0896a10fd920ad2cd (diff)
downloadpa-sink-ctl-e931bee328da0586759a427dfe0a5410d32ddf28.tar.gz
pa-sink-ctl-e931bee328da0586759a427dfe0a5410d32ddf28.tar.bz2
pa-sink-ctl-e931bee328da0586759a427dfe0a5410d32ddf28.zip
status: fix pointer to be const
-rw-r--r--src/interface.c2
-rw-r--r--src/interface.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/interface.c b/src/interface.c
index 344fcea..a4a03cb 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -310,7 +310,7 @@ void interface_clear(void)
endwin();
}
-void status(gchar *msg)
+void status(const gchar *msg)
{
static gchar *save = NULL;
if (msg != NULL) {
diff --git a/src/interface.h b/src/interface.h
index 69483a7..2f48f28 100644
--- a/src/interface.h
+++ b/src/interface.h
@@ -11,6 +11,6 @@ gboolean get_input(gpointer);
void interface_init(void);
gboolean interface_resize(gpointer);
void interface_clear(void);
-void status(gchar *);
+void status(const gchar *);
#endif