Fix --force-reinstall by removing special case code. Just remove the pkg first.
[oweals/opkg-lede.git] / libopkg / pkg_hash.h
index 0ff18aa5e355eb1ece2b596895148643fda6dad0..0ae01e7bca2c9f0bd2403fc9473c89d6d9d8b28f 100644 (file)
@@ -21,7 +21,6 @@
 #include "pkg.h"
 #include "pkg_src.h"
 #include "pkg_dest.h"
-#include "pkg_vec.h"
 #include "hash_table.h"
 
 
@@ -48,6 +47,7 @@ pkg_t *pkg_hash_fetch_installed_by_name(const char *pkg_name);
 pkg_t *pkg_hash_fetch_installed_by_name_dest(const char *pkg_name,
                                             pkg_dest_t *dest);
 
+void file_hash_remove(const char *file_name);
 pkg_t *file_hash_get_file_owner(const char *file_name);
 void file_hash_set_file_owner(const char *file_name, pkg_t *pkg);