summaryrefslogtreecommitdiffstats
path: root/libopkg/args.c
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-06-14 01:43:35 (EDT)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-06-14 01:43:35 (EDT)
commita2f5f54adba4fa703f11f4d94756911db83ed2a4 (patch)
tree296a2c26eb997fcd6b5c706d5b81844c995499e5 /libopkg/args.c
parent10f0dceaf9ed1dea7c2ed7d41e7a748d34dd9324 (diff)
adds a configure option so "/etc/opkg" can be
changed when opkg is configured and built. fix issue due to an error of opkg_conf.c Thanks to jlc <jlcster@gmail.com> http://groups.google.com/group/opkg-devel/browse_thread/thread/5c6e55832a7168aa git-svn-id: http://opkg.googlecode.com/svn/trunk@213 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/args.c')
-rw-r--r--libopkg/args.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopkg/args.c b/libopkg/args.c
index 71692f0..ef2b496 100644
--- a/libopkg/args.c
+++ b/libopkg/args.c
@@ -47,10 +47,10 @@ enum long_args_opt
ARGS_OPT_CACHE,
};
+char *conf_file_dir;
+
int args_init(args_t *args)
{
- char *conf_file_dir;
-
if (!args) {
return EFAULT;
}