r4605 - trunk/src/target/opkg/libopkg
tick at docs.openmoko.org
tick at docs.openmoko.org
Mon Aug 25 05:26:39 CEST 2008
Author: tick
Date: 2008-08-25 05:26:38 +0200 (Mon, 25 Aug 2008)
New Revision: 4605
Modified:
trunk/src/target/opkg/libopkg/opkg.c
trunk/src/target/opkg/libopkg/opkg_error.h
trunk/src/target/opkg/libopkg/opkg_install.c
Log:
remove build error on gcc 3.4
Thanks for jserv found and fix this.
Modified: trunk/src/target/opkg/libopkg/opkg.c
===================================================================
--- trunk/src/target/opkg/libopkg/opkg.c 2008-08-24 04:15:52 UTC (rev 4604)
+++ trunk/src/target/opkg/libopkg/opkg.c 2008-08-25 03:26:38 UTC (rev 4605)
@@ -34,6 +34,8 @@
#include <libbb/libbb.h>
+struct errlist* error_list;
+
struct _opkg_t
{
args_t *args;
Modified: trunk/src/target/opkg/libopkg/opkg_error.h
===================================================================
--- trunk/src/target/opkg/libopkg/opkg_error.h 2008-08-24 04:15:52 UTC (rev 4604)
+++ trunk/src/target/opkg/libopkg/opkg_error.h 2008-08-25 03:26:38 UTC (rev 4605)
@@ -51,6 +51,6 @@
struct errlist * next;
} ;
-struct errlist* error_list;
+extern struct errlist* error_list;
#endif /* OPKG_ERROR_H */
Modified: trunk/src/target/opkg/libopkg/opkg_install.c
===================================================================
--- trunk/src/target/opkg/libopkg/opkg_install.c 2008-08-24 04:15:52 UTC (rev 4604)
+++ trunk/src/target/opkg/libopkg/opkg_install.c 2008-08-25 03:26:38 UTC (rev 4605)
@@ -21,7 +21,9 @@
#include <glob.h>
#include <time.h>
#include <signal.h>
+#ifndef __USE_GNU
typedef void (*sighandler_t)(int);
+#endif
#include "pkg.h"
#include "pkg_hash.h"
More information about the commitlog
mailing list