diff options
author | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-01 22:39:12 (EST) |
---|---|---|
committer | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-01 22:39:12 (EST) |
commit | 908c671d6b3807854d41b4b51c584d16d7c2694b (patch) | |
tree | c3f120f1bfb0fed4a7a80b0759233e2cf38d3a38 /libopkg/opkg_utils.h | |
parent | 5c617e296570ed33196988e96481a4ef3e6e626e (diff) |
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
Diffstat (limited to 'libopkg/opkg_utils.h')
-rw-r--r-- | libopkg/opkg_utils.h | 6 |
1 files changed, 3 insertions, 3 deletions
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); |