diff options
Diffstat (limited to 'gdb/python/py-symbol.c')
-rw-r--r-- | gdb/python/py-symbol.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/python/py-symbol.c b/gdb/python/py-symbol.c index 066a27f..ff3d185 100644 --- a/gdb/python/py-symbol.c +++ b/gdb/python/py-symbol.c @@ -618,7 +618,7 @@ gdbpy_lookup_static_symbols (PyObject *self, PyObject *args, PyObject *kw) return return_list.release (); } -int +static int CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION gdbpy_initialize_symbols (void) { if (PyType_Ready (&symbol_object_type) < 0) @@ -687,6 +687,8 @@ gdbpy_initialize_symbols (void) (PyObject *) &symbol_object_type); } +GDBPY_INITIALIZE_FILE (gdbpy_initialize_symbols); + static gdb_PyGetSetDef symbol_object_getset[] = { |