diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-10-23 09:43:12 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-10-23 09:43:12 +0100 |
commit | 842606bc394025a1387982ee6e290186c9d92e2a (patch) | |
tree | d7eab745be38b44f33a7cf4444196c734ce4a2b8 /meta/packages/opkg | |
parent | 4815f7bc53f8012c0ff72ffb1ccb4c61c7c8b090 (diff) | |
download | poky-842606bc394025a1387982ee6e290186c9d92e2a.tar.gz |
opkg: Fix incomplete function prototype
Diffstat (limited to 'meta/packages/opkg')
-rw-r--r-- | meta/packages/opkg/files/fix_prototype.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/packages/opkg/files/fix_prototype.patch b/meta/packages/opkg/files/fix_prototype.patch new file mode 100644 index 0000000000..8d4eb7b5ad --- /dev/null +++ b/meta/packages/opkg/files/fix_prototype.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | Index: opkg/libopkg/opkg_utils.c | ||
2 | =================================================================== | ||
3 | --- opkg.orig/libopkg/opkg_utils.c 2008-10-23 09:36:52.000000000 +0100 | ||
4 | +++ opkg/libopkg/opkg_utils.c 2008-10-23 09:37:05.000000000 +0100 | ||
5 | @@ -165,7 +165,7 @@ | ||
6 | } | ||
7 | |||
8 | |||
9 | -void free_error_list(){ | ||
10 | +void free_error_list(void){ | ||
11 | struct errlist *err_tmp_lst; | ||
12 | |||
13 | err_tmp_lst = error_list; | ||
14 | Index: opkg/libopkg/opkg_utils.h | ||
15 | =================================================================== | ||
16 | --- opkg.orig/libopkg/opkg_utils.h 2008-10-23 09:36:50.000000000 +0100 | ||
17 | +++ opkg/libopkg/opkg_utils.h 2008-10-23 09:37:13.000000000 +0100 | ||
18 | @@ -23,7 +23,7 @@ | ||
19 | |||
20 | void push_error_list(struct errlist **errors,char * msg); | ||
21 | void reverse_error_list(struct errlist **errors); | ||
22 | -void free_error_list(); | ||
23 | +void free_error_list(void); | ||
24 | |||
25 | int get_available_blocks(char * filesystem); | ||
26 | char **read_raw_pkgs_from_file(const char *file_name); | ||