Fix redefinition errors in C++ mode
[deliverable/binutils-gdb.git] / gdb / python / py-finishbreakpoint.c
index 94f19e05f8147b8cfd788beba2c772d34beff59c..9b5e3c734d50cd8dd1618bf684556b835a1fa2ec 100644 (file)
@@ -52,7 +52,7 @@ struct finish_breakpoint_object
   PyObject *return_value;
 };
 
-static PyTypeObject finish_breakpoint_object_type
+extern PyTypeObject finish_breakpoint_object_type
     CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("finish_breakpoint_object");
 
 /* Python function to get the 'return_value' attribute of
@@ -429,7 +429,7 @@ None otherwise.", NULL },
     { NULL }  /* Sentinel.  */
 };
 
-static PyTypeObject finish_breakpoint_object_type =
+PyTypeObject finish_breakpoint_object_type =
 {
   PyVarObject_HEAD_INIT (NULL, 0)
   "gdb.FinishBreakpoint",         /*tp_name*/
This page took 0.023139 seconds and 4 git commands to generate.