diff options
Diffstat (limited to 'gdb/python/py-frame.c')
-rw-r--r-- | gdb/python/py-frame.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/python/py-frame.c b/gdb/python/py-frame.c index 082358e..1a55e51 100644 --- a/gdb/python/py-frame.c +++ b/gdb/python/py-frame.c @@ -717,7 +717,7 @@ frapy_richcompare (PyObject *self, PyObject *other, int op) /* Sets up the Frame API in the gdb module. */ -int +static int CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION gdbpy_initialize_frames (void) { frame_object_type.tp_new = PyType_GenericNew; @@ -749,6 +749,8 @@ gdbpy_initialize_frames (void) (PyObject *) &frame_object_type); } +GDBPY_INITIALIZE_FILE (gdbpy_initialize_frames); + static PyMethodDef frame_object_methods[] = { |