summaryrefslogtreecommitdiffstats
path: root/libopkg
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg')
-rw-r--r--libopkg/opkg_cmd.c2
-rw-r--r--libopkg/opkg_install.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/libopkg/opkg_cmd.c b/libopkg/opkg_cmd.c
index f5d78da..56649ea 100644
--- a/libopkg/opkg_cmd.c
+++ b/libopkg/opkg_cmd.c
@@ -812,7 +812,7 @@ static int opkg_info_status_cmd(opkg_conf_t *conf, int argc, char **argv, int in
char *pkg_name = NULL;
char **pkg_fields = NULL;
int n_fields = 0;
- char *buff ; // = (char *)malloc(1);
+ char *buff ;
if (argc > 0) {
pkg_name = argv[0];
diff --git a/libopkg/opkg_install.c b/libopkg/opkg_install.c
index 01d5875..aa17c9b 100644
--- a/libopkg/opkg_install.c
+++ b/libopkg/opkg_install.c
@@ -45,7 +45,6 @@ typedef void (*sighandler_t)(int);
#include "xsystem.h"
#include "user.h"
-int satisfy_dependencies_for(opkg_conf_t *conf, pkg_t *pkg);
static int verify_pkg_installable(opkg_conf_t *conf, pkg_t *pkg);
static int unpack_pkg_control_files(opkg_conf_t *conf, pkg_t *pkg);
@@ -399,7 +398,6 @@ int opkg_satisfy_all_dependences(opkg_conf_t *conf)
return 0;
}
-
static int check_conflicts_for(opkg_conf_t *conf, pkg_t *pkg)
{