summaryrefslogtreecommitdiffstats
path: root/libopkg/pkg.h
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-24 23:22:20 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-24 23:22:20 (EST)
commitf2a37ae1c0b560a685f8a14643463b8f2a5fc8ce (patch)
treed954a285d95d287b10f95c3d3c59e384b842d98a /libopkg/pkg.h
parente74d3456b50efca2e50b9c18be5faa66ec1ac67a (diff)
Make a couple of functions static, and return void since they cannot fail.
git-svn-id: http://opkg.googlecode.com/svn/trunk@368 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/pkg.h')
-rw-r--r--libopkg/pkg.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libopkg/pkg.h b/libopkg/pkg.h
index 694bda9..328d479 100644
--- a/libopkg/pkg.h
+++ b/libopkg/pkg.h
@@ -188,11 +188,9 @@ struct pkg
};
pkg_t *pkg_new(void);
-int pkg_init(pkg_t *pkg);
void pkg_deinit(pkg_t *pkg);
int pkg_init_from_file(opkg_conf_t *conf, pkg_t *pkg, const char *filename);
abstract_pkg_t *abstract_pkg_new(void);
-int abstract_pkg_init(abstract_pkg_t *ab_pkg);
/*
* merges fields from newpkg into oldpkg.