From 842606bc394025a1387982ee6e290186c9d92e2a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 23 Oct 2008 09:43:12 +0100 Subject: opkg: Fix incomplete function prototype --- meta/packages/opkg/files/fix_prototype.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta/packages/opkg/files/fix_prototype.patch (limited to 'meta') diff --git a/meta/packages/opkg/files/fix_prototype.patch b/meta/packages/opkg/files/fix_prototype.patch new file mode 100644 index 000000000..8d4eb7b5a --- /dev/null +++ b/meta/packages/opkg/files/fix_prototype.patch @@ -0,0 +1,26 @@ +Index: opkg/libopkg/opkg_utils.c +=================================================================== +--- opkg.orig/libopkg/opkg_utils.c 2008-10-23 09:36:52.000000000 +0100 ++++ opkg/libopkg/opkg_utils.c 2008-10-23 09:37:05.000000000 +0100 +@@ -165,7 +165,7 @@ + } + + +-void free_error_list(){ ++void free_error_list(void){ + struct errlist *err_tmp_lst; + + err_tmp_lst = error_list; +Index: opkg/libopkg/opkg_utils.h +=================================================================== +--- opkg.orig/libopkg/opkg_utils.h 2008-10-23 09:36:50.000000000 +0100 ++++ opkg/libopkg/opkg_utils.h 2008-10-23 09:37:13.000000000 +0100 +@@ -23,7 +23,7 @@ + + void push_error_list(struct errlist **errors,char * msg); + void reverse_error_list(struct errlist **errors); +-void free_error_list(); ++void free_error_list(void); + + int get_available_blocks(char * filesystem); + char **read_raw_pkgs_from_file(const char *file_name); -- cgit v1.2.3