diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-07-23 15:47:28 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-07-23 15:47:28 +0200 |
commit | 5afcd41752602f8c76faab8042a46e6b8c66bbb6 (patch) | |
tree | 39870e8e903490896b3f617e28b321ac78b4c83a /src/settings.c | |
parent | 95df994be69a49a6e40a105fa349a553dd03a766 (diff) | |
download | pianobar-windows-5afcd41752602f8c76faab8042a46e6b8c66bbb6.tar.gz pianobar-windows-5afcd41752602f8c76faab8042a46e6b8c66bbb6.tar.bz2 pianobar-windows-5afcd41752602f8c76faab8042a46e6b8c66bbb6.zip |
Be correct, use "const"
Diffstat (limited to 'src/settings.c')
-rw-r--r-- | src/settings.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings.c b/src/settings.c index a691607..ae34078 100644 --- a/src/settings.c +++ b/src/settings.c @@ -34,7 +34,8 @@ THE SOFTWARE. * @param but only up to this size * @return nothing */ -void BarGetXdgConfigDir (char *filename, char *retDir, size_t retDirN) { +void BarGetXdgConfigDir (const char *filename, char *retDir, + size_t retDirN) { char *xdgConfigDir = NULL; if ((xdgConfigDir = getenv ("XDG_CONFIG_HOME")) != NULL && |