active_list_sort: remove unused function Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> [Jo-Philipp Wich: remove call from opkg_active_list_test] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
active_list_add_depend: remove unused function Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> [Jo-Philipp Wich: remove call from opkg_active_list_test] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
pkg: move active_list structure out of pkg_t The active list head is only used by a tiny fraction of the allocated package structures in memory so do not waste heap memory by allocating space for it in all loaded packages. Instead allocate active list heads dynamically where needed and point them to the corresponding packages. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
treewrite: use Lindent to reformat to kernel coding style Use the kernels "Lindent" script to reformat files using kernel coding style. This should make subsequent refactoring much easier. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Remove trailing whitespace. Sorry if this breaks your patches. git-svn-id: http://opkg.googlecode.com/svn/trunk@552 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Merge commit 'grg' into HEAD git-svn-id: http://opkg.googlecode.com/svn/trunk@471 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
introduce the active_list for searching. introduce the active_list_sort git-svn-id: http://opkg.googlecode.com/svn/trunk@181 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
opkg: using active_list to list all the installed pkgs. adding function that allows node move from one list to another git-svn-id: http://opkg.googlecode.com/svn/trunk@178 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
opkg: using active list to list upgradeable pkgs git-svn-id: http://opkg.googlecode.com/svn/trunk@177 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
opkg: implement active_list_prev and test cases. git-svn-id: http://opkg.googlecode.com/svn/trunk@169 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
opkg: refactory active_list_next remove unnecessary field. git-svn-id: http://opkg.googlecode.com/svn/trunk@168 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
opkg: active_list tests git-svn-id: http://opkg.googlecode.com/svn/trunk@167 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
opkg: introduce the protype of active_list This can be used for upgrade path git-svn-id: http://opkg.googlecode.com/svn/trunk@166 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358