[opkg] fixing typo & incompatible part to gcc 4.3.2
[oweals/opkg-lede.git] / libopkg / opkg.c
index 4560dc9e5a523e0942dabc7cff69c8b5efd7349b..4123611f1bfbb98987a3cbc6814bfbddbe441edf 100644 (file)
@@ -34,6 +34,8 @@
 
 #include <libbb/libbb.h>
 
+struct errlist* error_list;
+
 struct _opkg_t
 {
   args_t *args;
@@ -871,7 +873,7 @@ opkg_update_package_lists (opkg_t *opkg, opkg_progress_callback_t progress_callb
     free (list_file_name);
     free (url);
 #else
-    /* XXX: Note: Signiture check for %s skipped because GPG support was not
+    /* XXX: Note: Signature check for %s skipped because GPG support was not
      * enabled in this build
      */
 #endif