diff options
author | Max Kellermann <max@duempel.org> | 2013-01-29 21:11:04 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-29 21:11:04 +0100 |
commit | a42f9fd4e2ccb164c0634571da9903e6a2aa507a (patch) | |
tree | 104cd2ac6598f1529f03e18c8f77135998b1a55d /src/ArchivePlugin.hxx | |
parent | e66005563efb24cdeb0c034a680f6a5556265c09 (diff) |
ArchivePlugin: scan_next() returns const string
Diffstat (limited to 'src/ArchivePlugin.hxx')
-rw-r--r-- | src/ArchivePlugin.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ArchivePlugin.hxx b/src/ArchivePlugin.hxx index 66ec6d83..448a1941 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 * |