Commit 6d6e6158 authored by Max Kellermann's avatar Max Kellermann

input_stream: pass const url to input_stream_open()

parent a9290398
......@@ -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;
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment