opkg: Fix incomplete function prototype

This commit is contained in:
Richard Purdie 2008-10-23 09:43:12 +01:00
parent 4815f7bc53
commit 842606bc39
1 changed files with 26 additions and 0 deletions

View File

@ -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);