(bc_xstrdup): Delete.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 4 Mar 1996 13:38:39 +0000 (08:38 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 4 Mar 1996 13:38:39 +0000 (08:38 -0500)
From-SVN: r11410

gcc/bc-emit.c

index 9a7c0f981b62e44a5199146a8226bf1565c0eed7..5de92b309118bf967881f1ded07605eb4820702d 100644 (file)
@@ -1,5 +1,5 @@
 /* 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.
 
@@ -978,15 +978,3 @@ bc_emit_trampoline (callinfo)
   seg_defsym (bytecode, mylab);
   return sym_lookup (mylab)->name;
 }
-
-
-/* Simple strdup */
-char *
-bc_xstrdup (str)
-     char *str;
-{
-  char *tmp = xmalloc (strlen (str) + 1);
-
-  strcpy (tmp, str);
-  return tmp;
-}