diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-06-23 10:56:07 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-06-23 10:56:07 +0200 |
commit | daee8ba2b0030ddc53269482470d733d47604b88 (patch) | |
tree | c4b59903fe71877b02cc19c1175945c4468dabb8 /src/settings.c | |
parent | 6e4a83107213a282128b0db8d61d54dd0981a06f (diff) | |
download | pianobar-windows-daee8ba2b0030ddc53269482470d733d47604b88.tar.gz pianobar-windows-daee8ba2b0030ddc53269482470d733d47604b88.tar.bz2 pianobar-windows-daee8ba2b0030ddc53269482470d733d47604b88.zip |
client: Use function prefix "Bar"
Diffstat (limited to 'src/settings.c')
-rw-r--r-- | src/settings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/settings.c b/src/settings.c index abdf5b7..91cd851 100644 --- a/src/settings.c +++ b/src/settings.c @@ -34,7 +34,7 @@ THE SOFTWARE. * @param but only up to this size * @return nothing */ -void getXdgConfigDir (char *filename, char *retDir, size_t retDirN) { +void BarGetXdgConfigDir (char *filename, char *retDir, size_t retDirN) { char *xdgConfigDir = NULL; if ((xdgConfigDir = getenv ("XDG_CONFIG_HOME")) != NULL && @@ -71,11 +71,11 @@ void BarSettingsDestroy (BarSettings_t *settings) { * @param where to save these settings * @return nothing yet */ -void readSettings (BarSettings_t *settings) { +void BarSettingsRead (BarSettings_t *settings) { char configfile[1024], key[256], val[256]; FILE *configfd; - getXdgConfigDir (PACKAGE "/config", configfile, sizeof (configfile)); + BarGetXdgConfigDir (PACKAGE "/config", configfile, sizeof (configfile)); if ((configfd = fopen (configfile, "r")) == NULL) { printf ("config file at %s not found\n", configfile); return; |