diff options
author | Timo Teräs <timo.teras@iki.fi> | 2012-02-29 11:26:12 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2012-02-29 11:26:12 +0200 |
commit | 2f66295fc7ca65e5706b647971559aaddb5dfa55 (patch) | |
tree | 4e12e858065df56f76058600125ee4128c2f5353 /src/apk_solver.h | |
parent | 15adb0475f49d461b21f4826f9f0e1a1b8562205 (diff) | |
download | apk-tools-2f66295fc7ca65e5706b647971559aaddb5dfa55.tar.gz apk-tools-2f66295fc7ca65e5706b647971559aaddb5dfa55.tar.bz2 apk-tools-2f66295fc7ca65e5706b647971559aaddb5dfa55.tar.xz apk-tools-2f66295fc7ca65e5706b647971559aaddb5dfa55.zip |
solver: merge apk_name_state to apk_name
apk_name_state is now quite small; and we avoid overhead of two
pointers (+ malloc overhead) when we just make it part of apk_name.
It also fixes some problems (that got introduced) where apk_name_state
was not allocated.
Diffstat (limited to 'src/apk_solver.h')
-rw-r--r-- | src/apk_solver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/apk_solver.h b/src/apk_solver.h index 4ecb9a7..c839f7b 100644 --- a/src/apk_solver.h +++ b/src/apk_solver.h @@ -12,6 +12,9 @@ #ifndef APK_SOLVER_H #define APK_SOLVER_H +struct apk_name; +struct apk_package; + struct apk_solution_entry { struct apk_package *pkg; unsigned short repository_tag : 15; |