aboutsummaryrefslogtreecommitdiff
path: root/binutils/debug.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-01-14 23:10:21 +0000
committerAlan Modra <amodra@gmail.com>2000-01-14 23:10:21 +0000
commit3dceb55b374a67ce1185ff7a3d637bda8affa785 (patch)
tree86f1f7a73fb6f7994b742b6a08532cd955c02752 /binutils/debug.c
parent28240dcd30bd657bf678cc62554794ca69ed3987 (diff)
downloadgdb-3dceb55b374a67ce1185ff7a3d637bda8affa785.zip
gdb-3dceb55b374a67ce1185ff7a3d637bda8affa785.tar.gz
gdb-3dceb55b374a67ce1185ff7a3d637bda8affa785.tar.bz2
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 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;