Commit e3b79a32 by Richard Kenner

(bc_xstrdup): Delete.

From-SVN: r11410
parent fa58294a
/* Output bytecodes for GNU C-compiler. /* Output bytecodes for GNU C-compiler.
Copyright (C) 1993, 1994 Free Software Foundation, Inc. Copyright (C) 1993, 1994, 1996 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
...@@ -978,15 +978,3 @@ bc_emit_trampoline (callinfo) ...@@ -978,15 +978,3 @@ bc_emit_trampoline (callinfo)
seg_defsym (bytecode, mylab); seg_defsym (bytecode, mylab);
return sym_lookup (mylab)->name; return sym_lookup (mylab)->name;
} }
/* Simple strdup */
char *
bc_xstrdup (str)
char *str;
{
char *tmp = xmalloc (strlen (str) + 1);
strcpy (tmp, str);
return tmp;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment