summaryrefslogtreecommitdiff
path: root/src/apk_package.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-06-18 08:03:40 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-06-18 08:03:40 +0300
commit54509e7a1a33923569848ce69c6e7f94fc6a021b (patch)
treea64133f0311c56fe1091fae3a5e293688c3caf01 /src/apk_package.h
parent72139b82d3e6631c839745f3c34a5aca8c5c61e4 (diff)
downloadapk-tools-54509e7a1a33923569848ce69c6e7f94fc6a021b.tar.gz
apk-tools-54509e7a1a33923569848ce69c6e7f94fc6a021b.tar.bz2
apk-tools-54509e7a1a33923569848ce69c6e7f94fc6a021b.tar.xz
apk-tools-54509e7a1a33923569848ce69c6e7f94fc6a021b.zip
all: various conversions to foreach_array_item, and simplifications of code
Diffstat (limited to 'src/apk_package.h')
-rw-r--r--src/apk_package.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/apk_package.h b/src/apk_package.h
index e259c19..db3965b 100644
--- a/src/apk_package.h
+++ b/src/apk_package.h
@@ -154,10 +154,8 @@ void apk_blob_pull_deps(apk_blob_t *from, struct apk_database *, struct apk_depe
int apk_deps_write(struct apk_database *db, struct apk_dependency_array *deps,
struct apk_ostream *os, apk_blob_t separator);
-int apk_deps_add(struct apk_dependency_array **depends,
- struct apk_dependency *dep);
-void apk_deps_del(struct apk_dependency_array **deps,
- struct apk_name *name);
+void apk_deps_add(struct apk_dependency_array **depends, struct apk_dependency *dep);
+void apk_deps_del(struct apk_dependency_array **deps, struct apk_name *name);
int apk_script_type(const char *name);
struct apk_package *apk_pkg_get_installed(struct apk_name *name);