From 6d6e615825022647650df5cb88a05e3cd2dc42de Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 31 Oct 2008 15:50:59 +0100 Subject: input_stream: pass const url to input_stream_open() --- src/input_stream.c | 2 +- src/input_stream.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/input_stream.c b/src/input_stream.c index e4f5626c6..86c0b9246 100644 --- a/src/input_stream.c +++ b/src/input_stream.c @@ -52,7 +52,7 @@ void input_stream_global_finish(void) } bool -input_stream_open(struct input_stream *is, char *url) +input_stream_open(struct input_stream *is, const char *url) { is->seekable = false; is->ready = false; diff --git a/src/input_stream.h b/src/input_stream.h index dc1739dde..c8d8068d3 100644 --- a/src/input_stream.h +++ b/src/input_stream.h @@ -57,7 +57,7 @@ void input_stream_global_finish(void); /* if an error occurs for these 3 functions, then -1 is returned and errno for the input stream is set */ bool -input_stream_open(struct input_stream *is, char *url); +input_stream_open(struct input_stream *is, const char *url); bool input_stream_seek(struct input_stream *is, off_t offset, int whence); -- cgit v1.2.3