From a42f9fd4e2ccb164c0634571da9903e6a2aa507a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 29 Jan 2013 21:11:04 +0100 Subject: ArchivePlugin: scan_next() returns const string --- src/ArchivePlugin.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ArchivePlugin.hxx') diff --git a/src/ArchivePlugin.hxx b/src/ArchivePlugin.hxx index 66ec6d830..448a1941c 100644 --- a/src/ArchivePlugin.hxx +++ b/src/ArchivePlugin.hxx @@ -62,7 +62,7 @@ struct archive_plugin { * (as pathnames) and move read index to next file. When there is no * next file it return NULL. */ - char *(*scan_next)(struct archive_file *); + const char *(*scan_next)(struct archive_file *); /** * Opens an input_stream of a file within the archive. @@ -98,7 +98,7 @@ archive_file_close(struct archive_file *file); void archive_file_scan_reset(struct archive_file *file); -char * +const char * archive_file_scan_next(struct archive_file *file); struct input_stream * -- cgit v1.2.3