* eval.c (evaluate_struct_tuple): Use strcmp instead of
DEPRECATED_STREQ.
This commit is contained in:
parent
63a09be56e
commit
edf8c5a3cc
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-06-28 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* eval.c (evaluate_struct_tuple): Use strcmp instead of
|
||||||
|
DEPRECATED_STREQ.
|
||||||
|
|
||||||
2005-06-27 Michael Snyder <msnyder@redhat.com>
|
2005-06-27 Michael Snyder <msnyder@redhat.com>
|
||||||
|
|
||||||
* config/mn10300/linux.mt: New file.
|
* config/mn10300/linux.mt: New file.
|
||||||
|
|
|
@ -225,7 +225,7 @@ evaluate_struct_tuple (struct value *struct_val,
|
||||||
fieldno++)
|
fieldno++)
|
||||||
{
|
{
|
||||||
char *field_name = TYPE_FIELD_NAME (struct_type, fieldno);
|
char *field_name = TYPE_FIELD_NAME (struct_type, fieldno);
|
||||||
if (field_name != NULL && DEPRECATED_STREQ (field_name, label))
|
if (field_name != NULL && strcmp (field_name, label) == 0)
|
||||||
{
|
{
|
||||||
variantno = -1;
|
variantno = -1;
|
||||||
subfieldno = fieldno;
|
subfieldno = fieldno;
|
||||||
|
@ -253,9 +253,9 @@ evaluate_struct_tuple (struct value *struct_val,
|
||||||
subfieldno < TYPE_NFIELDS (substruct_type);
|
subfieldno < TYPE_NFIELDS (substruct_type);
|
||||||
subfieldno++)
|
subfieldno++)
|
||||||
{
|
{
|
||||||
if (DEPRECATED_STREQ (TYPE_FIELD_NAME (substruct_type,
|
if (strcmp(TYPE_FIELD_NAME (substruct_type,
|
||||||
subfieldno),
|
subfieldno),
|
||||||
label))
|
label) == 0)
|
||||||
{
|
{
|
||||||
goto found;
|
goto found;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue