diff options
author | Max Kellermann <max@duempel.org> | 2008-09-09 10:01:29 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-09 10:01:29 +0200 |
commit | 182746b95c84d5e742b82d662f4c3321250b4e60 (patch) | |
tree | 0914168c239a3c1eae5eade9949642cef089cd58 /src/timer.h | |
parent | 35494158c8608525a38457bbf3412d19ae18e845 (diff) | |
download | mpd-182746b95c84d5e742b82d662f4c3321250b4e60.tar.gz mpd-182746b95c84d5e742b82d662f4c3321250b4e60.tar.xz mpd-182746b95c84d5e742b82d662f4c3321250b4e60.zip |
timer: constant pointers
The audio_format argument to timer_new() should be constant, because
it is not modified. The same is true for ShoutData.audioFormat.
Diffstat (limited to '')
-rw-r--r-- | src/timer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timer.h b/src/timer.h index 80bef952d..31977f799 100644 --- a/src/timer.h +++ b/src/timer.h @@ -29,7 +29,7 @@ typedef struct _Timer { int rate; } Timer; -Timer *timer_new(struct audio_format *af); +Timer *timer_new(const struct audio_format *af); void timer_free(Timer *timer); |