]> Git Repo - binutils.git/blobdiff - gdb/python/py-lazy-string.c
Remove trailing whitespace.
[binutils.git] / gdb / python / py-lazy-string.c
index df54cf4a16bcb5b816c66fd41ed7392883958a99..ea193a97f6e67433ecc02f559b03341d06ca061f 100644 (file)
@@ -160,13 +160,14 @@ gdbpy_create_lazy_string_object (CORE_ADDR address, long length,
   return (PyObject *) str_obj;
 }
 
-void
+int
 gdbpy_initialize_lazy_string (void)
 {
   if (PyType_Ready (&lazy_string_object_type) < 0)
-    return;
+    return -1;
 
   Py_INCREF (&lazy_string_object_type);
+  return 0;
 }
 
 /* Determine whether the printer object pointed to by OBJ is a
This page took 0.029623 seconds and 4 git commands to generate.