From 908c671d6b3807854d41b4b51c584d16d7c2694b Mon Sep 17 00:00:00 2001 From: graham.gower Date: Sun, 01 Nov 2009 22:39:12 -0500 Subject: Cleanup error_list stuff a bit more. - Remove reverse_error_list. - Push messages on to the tail of the list. - Move the print function in with the other error list functions. - Indentation and variable name cleanups. git-svn-id: http://opkg.googlecode.com/svn/trunk@238 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/opkg_utils.h') diff --git a/libopkg/opkg_utils.h b/libopkg/opkg_utils.h index ed9215b..a6c9eb0 100644 --- a/libopkg/opkg_utils.h +++ b/libopkg/opkg_utils.h @@ -21,9 +21,9 @@ #include "pkg.h" #include "opkg_error.h" -void push_error_list(struct errlist **errors,char * msg); -void reverse_error_list(struct errlist **errors); -void free_error_list(struct errlist **errors); +void push_error_list(char * msg); +void free_error_list(void); +void print_error_list(void); long unsigned int get_available_blocks(char * filesystem); char **read_raw_pkgs_from_file(const char *file_name); -- cgit v0.9.1