From 7ea0060e3b5c0f4d261cf4291bcd160ec94164c2 Mon Sep 17 00:00:00 2001 From: graham.gower Date: Thu, 26 Nov 2009 23:09:44 -0500 Subject: Remove enum opkg_error. The return codes aren't particularly useful and trying to have a useful one for every error scenario would be like extending errno. Good error messages via opkg_message() are far more appropriate. git-svn-id: http://opkg.googlecode.com/svn/trunk@395 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/opkg_install.h') diff --git a/libopkg/opkg_install.h b/libopkg/opkg_install.h index d6d074f..13d43d0 100644 --- a/libopkg/opkg_install.h +++ b/libopkg/opkg_install.h @@ -22,7 +22,7 @@ #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_by_name(opkg_conf_t *conf, const char *pkg_name); int opkg_install_pkg(opkg_conf_t *conf, pkg_t *pkg, int from_upgrading); #endif -- cgit v0.9.1