aboutsummaryrefslogtreecommitdiffstats
path: root/src/ncmpc.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-15 12:27:28 +0200
committerMax Kellermann <max@duempel.org>2008-09-15 12:27:28 +0200
commit0b3bcb6c7f1bb4a633896b8a9936e498570ef8e1 (patch)
tree611b143eb0834c892246f8b31311e9224977c952 /src/ncmpc.h
parent1f0ff952055c920c8671a1587c622e4df8b4a99d (diff)
downloadmpd-0b3bcb6c7f1bb4a633896b8a9936e498570ef8e1.tar.gz
mpd-0b3bcb6c7f1bb4a633896b8a9936e498570ef8e1.tar.xz
mpd-0b3bcb6c7f1bb4a633896b8a9936e498570ef8e1.zip
const pointers
Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
Diffstat (limited to '')
-rw-r--r--src/ncmpc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ncmpc.h b/src/ncmpc.h
index 033145f91..9caf8601a 100644
--- a/src/ncmpc.h
+++ b/src/ncmpc.h
@@ -22,7 +22,7 @@
#endif
#ifndef NDEBUG
-void D(char *format, ...);
+void D(const char *format, ...);
#else
#define D(...)
#endif