Replace delete_longjmp_breakpoint_cleanup with a forward_scope_exit type
[deliverable/binutils-gdb.git] / gdb / inferior.h
index a82df1a52a5cd8805308035a3f59cb53166c5aec..cadaaedf22e4e7e7f34a452d608c57b179057423 100644 (file)
@@ -51,6 +51,7 @@ struct thread_info;
 
 #include "symfile-add-flags.h"
 #include "common/refcounted-object.h"
+#include "common/forward-scope-exit.h"
 
 #include "common-inferior.h"
 #include "gdbthread.h"
@@ -198,7 +199,8 @@ extern void continue_1 (int all_threads);
 
 extern void interrupt_target_1 (int all_threads);
 
-extern void delete_longjmp_breakpoint_cleanup (void *arg);
+using delete_longjmp_breakpoint_cleanup
+  = FORWARD_SCOPE_EXIT (delete_longjmp_breakpoint);
 
 extern void detach_command (const char *, int);
 
This page took 0.023611 seconds and 4 git commands to generate.