Correct function return types for new and fussy gcc.
[deliverable/binutils-gdb.git] / binutils / debug.c
index dad45593c8281b8fe4f385588f609989f509bed3..82a9094a07cc4c15ac68d49bc7641facc7ad189c 100644 (file)
@@ -1988,7 +1988,7 @@ debug_name_type (handle, name, type)
   nm = debug_add_to_namespace (info, &info->current_file->globals, name,
                               DEBUG_OBJECT_TYPE, DEBUG_LINKAGE_NONE);
   if (nm == NULL)
-    return false;
+    return DEBUG_TYPE_NULL;
 
   nm->u.type = t;
 
@@ -2044,7 +2044,7 @@ debug_tag_type (handle, name, type)
   nm = debug_add_to_namespace (info, &info->current_file->globals, name,
                               DEBUG_OBJECT_TAG, DEBUG_LINKAGE_NONE);
   if (nm == NULL)
-    return false;
+    return DEBUG_TYPE_NULL;
 
   nm->u.tag = t;
 
This page took 0.02597 seconds and 4 git commands to generate.