summaryrefslogtreecommitdiff
path: root/src/apk_state.h
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-02-21 15:31:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-03-30 12:53:02 +0000
commite43ec608749a44a305afec89f46bcb282ab93d10 (patch)
treef9677a1e6347a0aa98a8ff83911f3d57667e1dfc /src/apk_state.h
parent0f6475b88466b6e4cd424f9807fa14eab0fafe96 (diff)
downloadapk-tools-e43ec608749a44a305afec89f46bcb282ab93d10.tar.gz
apk-tools-e43ec608749a44a305afec89f46bcb282ab93d10.tar.bz2
apk-tools-e43ec608749a44a305afec89f46bcb282ab93d10.tar.xz
apk-tools-e43ec608749a44a305afec89f46bcb282ab93d10.zip
state: use db in own struc when committing
The db parameter to apk_state_commit is not needed so we remove it.
Diffstat (limited to 'src/apk_state.h')
-rw-r--r--src/apk_state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk_state.h b/src/apk_state.h
index 1ac049a..e0df54e 100644
--- a/src/apk_state.h
+++ b/src/apk_state.h
@@ -37,7 +37,7 @@ struct apk_state *apk_state_dup(struct apk_state *state);
void apk_state_unref(struct apk_state *state);
void apk_state_print_errors(struct apk_state *state);
-int apk_state_commit(struct apk_state *state, struct apk_database *db);
+int apk_state_commit(struct apk_state *state);
int apk_state_lock_dependency(struct apk_state *state,
struct apk_dependency *dep);
int apk_state_lock_name(struct apk_state *state,