summaryrefslogtreecommitdiffstats
path: root/src/package.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/package.h')
-rw-r--r--src/package.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/package.h b/src/package.h
index 9279659..42486ad 100644
--- a/src/package.h
+++ b/src/package.h
@@ -33,7 +33,7 @@ struct package;
struct package* package_open(const char *fn, int force);
void package_remove(struct package *p);
int package_save(struct package *p, const char *fn);
-const char *package_get_item(struct package* p, const char *name, int c);
+int package_get_item(struct package* p, const char *name, int c, char const ** fn);
int package_add_file(struct package *p, const char *name, const char *fn);
int package_foreach(struct package *p, int (*cb) (struct package *p, const char *name, const char *path, void *u), void *u);