summaryrefslogtreecommitdiff
path: root/binutils/debug.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2000-01-14 23:10:21 +0000
committerAlan Modra <amodra@bigpond.net.au>2000-01-14 23:10:21 +0000
commit85f568c39c76a6679f06bbf5dc74270994cf6979 (patch)
treeb5cc08930ad90a5785444c9c37dbe365b7649fa4 /binutils/debug.c
parentcf2fd15ffdef6a2cce638288d942d706c645daeb (diff)
downloadbinutils-redhat-85f568c39c76a6679f06bbf5dc74270994cf6979.tar.gz
Correct function return types for new and fussy gcc.
Diffstat (limited to 'binutils/debug.c')
-rw-r--r--binutils/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/debug.c b/binutils/debug.c
index dad45593c8..82a9094a07 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;