X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libopkg%2Fopkg_install.h;h=ff7ff13b9540b783d1a7f0f3337a15efb8b36143;hb=c668fcec731bed7acc21b3f88f9a94cb55b9b498;hp=d6d074f61d71d7b5b85e65af16b7e8803dc9a4f4;hpb=f71b8cf7e522584345ecbc26a31aa96cf5cec46b;p=oweals%2Fopkg-lede.git diff --git a/libopkg/opkg_install.h b/libopkg/opkg_install.h index d6d074f..ff7ff13 100644 --- a/libopkg/opkg_install.h +++ b/libopkg/opkg_install.h @@ -20,9 +20,8 @@ #include "pkg.h" #include "opkg_conf.h" -#include "opkg_error.h" -opkg_error_t opkg_install_by_name(opkg_conf_t *conf, const char *pkg_name); -int opkg_install_pkg(opkg_conf_t *conf, pkg_t *pkg, int from_upgrading); +int opkg_install_by_name(const char *pkg_name); +int opkg_install_pkg(pkg_t * pkg, int from_upgrading); #endif