Correct function return types for new and fussy gcc.

This commit is contained in:
Alan Modra 2000-01-14 23:10:21 +00:00
parent 28240dcd30
commit 3dceb55b37
4 changed files with 17 additions and 9 deletions

View 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;