General Public License for more details.
*/
-#include "includes.h"
+#include <stdio.h>
+#include <stdlib.h>
+
#include "opkg_install.h"
#include "opkg_upgrade.h"
#include "opkg_message.h"
free(old_version);
return 0;
}
-
+
old_version = pkg_version_str_alloc(old);
new_version = pkg_version_str_alloc(new);
-
+
cmp = pkg_compare_versions(old, new);
opkg_msg(DEBUG, "Comparing visible versions of pkg %s:"
"\n\t%s is installed "
cmp = pkg_compare_versions(old, new);
if ( cmp < 0 ) {
- node = active_list_move_node(all, head, &old->list);
+ node = active_list_move_node(all, head, &old->list);
}
}
active_list_head_delete(all);