gas: Fix left shift of negative value.
[binutils-gdb.git] / gdb / infcall.h
index d038b6a7e917f77b777fe8b2c7ca3bc977e0f1d5..77c510179ae82a3d3d735723a17ccede354a64db 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef INFCALL_H
 #define INFCALL_H
 
+#include "dummy-frame.h"
+
 struct value;
 struct type;
 
@@ -42,11 +44,10 @@ extern struct value *call_function_by_hand (struct value *function, int nargs,
    register_dummy_frame_dtor with DUMMY_DTOR and DUMMY_DTOR_DATA for the
    created inferior call dummy frame.  */
 
-typedef void (call_function_by_hand_dummy_dtor_ftype) (void *data);
 extern struct value *
   call_function_by_hand_dummy (struct value *function, int nargs,
                               struct value **args,
-                            call_function_by_hand_dummy_dtor_ftype *dummy_dtor,
+                              dummy_frame_dtor_ftype *dummy_dtor,
                               void *dummy_dtor_data);
 
 #endif