diff options
Diffstat (limited to 'sim/common/hw-base.h')
-rw-r--r-- | sim/common/hw-base.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sim/common/hw-base.h b/sim/common/hw-base.h index d6452d1..5760103 100644 --- a/sim/common/hw-base.h +++ b/sim/common/hw-base.h @@ -54,8 +54,7 @@ void hw_delete typedef void (hw_delete_callback) (struct hw *me); -#define set_hw_delete(hw, method) \ -((hw)->base_of_hw->to_delete = (method)) +extern void set_hw_delete(struct hw* hw, hw_delete_callback method); /* ALLOC */ |