diff options
author | paul <paul> | 2006-08-27 06:53:24 +0000 |
---|---|---|
committer | paul <paul> | 2006-08-27 06:53:24 +0000 |
commit | 34e597ff436413098bcc6e982ae22a9c8fddaf0c (patch) | |
tree | 5d110db62b55b3212c4aef1d3b06a854202c1e9a /tests | |
parent | 3eecf2de694cb27ab6c4ff2b0323475920f4cb73 (diff) | |
download | quagga-34e597ff436413098bcc6e982ae22a9c8fddaf0c.tar.bz2 quagga-34e597ff436413098bcc6e982ae22a9c8fddaf0c.tar.xz |
[tests] update heavywq for workqueue api changes
2006-08-26 Paul Jakma <paul.jakma@sun.com>
* heavy-wq.c: (slow_func_del,slow_func) update to match workqueue
changes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ChangeLog | 5 | ||||
-rw-r--r-- | tests/heavy-wq.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index b066cfd8..850fd54d 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2006-08-26 Paul Jakma <paul.jakma@sun.com> + + * heavy-wq.c: (slow_func_del,slow_func) update to match workqueue + changes + 2006-08-06 Paul Jakma <paul.jakma@sun.com> * aspath_test.c: (validate) Fix the sense of the aspath_loop_check, diff --git a/tests/heavy-wq.c b/tests/heavy-wq.c index bd93169d..a2c609d4 100644 --- a/tests/heavy-wq.c +++ b/tests/heavy-wq.c @@ -87,17 +87,18 @@ slow_func_err (struct work_queue *wq, struct work_queue_item *item) } static void -slow_func_del (void *data) +slow_func_del (struct work_queue *wq, void *data) { struct heavy_wq_node *hn = data; assert (hn && hn->str); + printf ("%s: %s\n", __func__, hn->str); XFREE (MTYPE_PREFIX_LIST_STR, hn->str); hn->str = NULL; XFREE(MTYPE_PREFIX_LIST, hn); } static wq_item_status -slow_func (void *data) +slow_func (struct work_queue *wq, void *data) { struct heavy_wq_node *hn = data; double x = 1; |