diff options
author | Alan Modra <amodra@bigpond.net.au> | 2000-01-14 23:10:21 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2000-01-14 23:10:21 +0000 |
commit | 85f568c39c76a6679f06bbf5dc74270994cf6979 (patch) | |
tree | b5cc08930ad90a5785444c9c37dbe365b7649fa4 /binutils/debug.c | |
parent | cf2fd15ffdef6a2cce638288d942d706c645daeb (diff) | |
download | binutils-redhat-85f568c39c76a6679f06bbf5dc74270994cf6979.tar.gz |
Correct function return types for new and fussy gcc.
Diffstat (limited to 'binutils/debug.c')
-rw-r--r-- | binutils/debug.c | 4 |
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; |