aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-06 10:30:10 +0200
committerMax Kellermann <max@duempel.org>2009-10-06 10:30:10 +0200
commit1e663b186998ffdeef9b3b9775558e9378bad342 (patch)
tree09433f0da6c26859a603ef740a94033be6fbdf44
parent7013f9fc3105a4e928cbd87bb177325e9b26bbc6 (diff)
downloadmpd-1e663b186998ffdeef9b3b9775558e9378bad342.tar.gz
mpd-1e663b186998ffdeef9b3b9775558e9378bad342.tar.xz
mpd-1e663b186998ffdeef9b3b9775558e9378bad342.zip
output_state: no CamelCase
Diffstat (limited to '')
-rw-r--r--src/output_state.c4
-rw-r--r--src/output_state.h4
-rw-r--r--src/state_file.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/output_state.c b/src/output_state.c
index 5efae3626..7fc60518c 100644
--- a/src/output_state.c
+++ b/src/output_state.c
@@ -35,7 +35,7 @@
#define AUDIO_DEVICE_STATE "audio_device_state:"
void
-saveAudioDevicesState(FILE *fp)
+audio_output_state_save(FILE *fp)
{
unsigned n = audio_output_count();
@@ -50,7 +50,7 @@ saveAudioDevicesState(FILE *fp)
}
bool
-readAudioDevicesState(const char *line)
+audio_output_state_read(const char *line)
{
long value;
char *endptr;
diff --git a/src/output_state.h b/src/output_state.h
index b171fed18..1efae94a1 100644
--- a/src/output_state.h
+++ b/src/output_state.h
@@ -29,9 +29,9 @@
#include <stdio.h>
bool
-readAudioDevicesState(const char *line);
+audio_output_state_read(const char *line);
void
-saveAudioDevicesState(FILE *fp);
+audio_output_state_save(FILE *fp);
#endif
diff --git a/src/state_file.c b/src/state_file.c
index 18548d03c..14c76d739 100644
--- a/src/state_file.c
+++ b/src/state_file.c
@@ -53,7 +53,7 @@ state_file_write(void)
}
save_sw_volume_state(fp);
- saveAudioDevicesState(fp);
+ audio_output_state_save(fp);
playlist_state_save(fp, &g_playlist);
while(fclose(fp) && errno == EINTR) /* nothing */;
@@ -81,7 +81,7 @@ state_file_read(void)
g_strchomp(line);
success = read_sw_volume_state(line) ||
- readAudioDevicesState(line) ||
+ audio_output_state_read(line) ||
playlist_state_restore(line, fp, &g_playlist);
if (!success)
g_warning("Unrecognized line in state file: %s", line);