aboutsummaryrefslogtreecommitdiff
path: root/src/ArchivePlugin.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/ArchivePlugin.hxx')
-rw-r--r--src/ArchivePlugin.hxx4
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 *