From 96b974bc452e6b33ada281c5ccb4df7b9492e1da Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 9 Nov 2009 20:33:45 +0100 Subject: [PATCH] player_control: removed the "volatile" attribute Our use of the "volatile" keyword was wrong from the start, and now that we have proper locking, we can safely remove all of them. --- src/player_control.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/player_control.h b/src/player_control.h index 02c04fda8..e279067d5 100644 --- a/src/player_control.h +++ b/src/player_control.h @@ -107,9 +107,9 @@ struct player_control { struct audio_format audio_format; float total_time; float elapsed_time; - struct song *volatile next_song; + struct song *next_song; const struct song *errored_song; - volatile double seek_where; + double seek_where; float cross_fade_seconds; double total_play_time; };