summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg_install.h
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-26 23:09:44 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-26 23:09:44 (EST)
commit7ea0060e3b5c0f4d261cf4291bcd160ec94164c2 (patch)
tree303fef8983cf9cc707d34c231a6eedbb703d5ad9 /libopkg/opkg_install.h
parent65744fa1522751906c5cfb93e67137fc98103e91 (diff)
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
Diffstat (limited to 'libopkg/opkg_install.h')
-rw-r--r--libopkg/opkg_install.h2
1 files changed, 1 insertions, 1 deletions
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