diff options
author | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:32:47 (EST) |
---|---|---|
committer | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:32:47 (EST) |
commit | e91e75dcb824cdc22799b1eb15395d065b4d9518 (patch) | |
tree | 360954ba537c302a1420b347f1d571dc7c666fa1 /tests | |
parent | 014e4c306c4765c65abf1f2ce879bebcdd8c7261 (diff) |
opkg: implment active_list_clear()
git-svn-id: http://opkg.googlecode.com/svn/trunk@170 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'tests')
-rw-r--r-- | tests/opkg_active_list_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/opkg_active_list_test.c b/tests/opkg_active_list_test.c index 1e21645..77819b0 100644 --- a/tests/opkg_active_list_test.c +++ b/tests/opkg_active_list_test.c @@ -111,7 +111,8 @@ int main (void) { test = list_entry(ptr, struct active_test, list); printf ("%s ",test->str); } - printf("\npos order: "); + printf("\nafter clear: "); + active_list_clear(&head); for(ptr = active_list_next(&head, NULL); ptr ;ptr = active_list_next(&head, ptr)) { test = list_entry(ptr, struct active_test, list); printf ("%s ",test->str); |