From 3dceb55b374a67ce1185ff7a3d637bda8affa785 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 14 Jan 2000 23:10:21 +0000 Subject: Correct function return types for new and fussy gcc. --- binutils/debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'binutils/debug.c') diff --git a/binutils/debug.c b/binutils/debug.c index dad4559..82a9094 100644 --- a/binutils/debug.c +++ b/binutils/debug.c @@ -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; -- cgit v1.1