OSDN Git Service

(bc_xstrdup): Delete.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Mar 1996 13:38:39 +0000 (13:38 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Mar 1996 13:38:39 +0000 (13:38 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11410 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/bc-emit.c

index 9a7c0f9..5de92b3 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;
-}