diff options
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/target.h b/gdb/target.h index ee93c5c..3a64094 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -2390,16 +2390,11 @@ extern void push_target (struct target_ops *); /* An overload that deletes the target on failure. */ extern void push_target (target_ops_up &&); -extern int unpush_target (struct target_ops *); - /* A unique_ptr helper to unpush a target. */ struct target_unpusher { - void operator() (struct target_ops *ops) const - { - unpush_target (ops); - } + void operator() (struct target_ops *ops) const; }; /* A unique_ptr that unpushes a target on destruction. */ |