summaryrefslogtreecommitdiffstats
path: root/gcc/bc-emit.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/bc-emit.c')
-rw-r--r--gcc/bc-emit.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/gcc/bc-emit.c b/gcc/bc-emit.c
index 9a7c0f981b6..5de92b30911 100644
--- a/gcc/bc-emit.c
+++ b/gcc/bc-emit.c
@@ -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;
-}
OpenPOWER on IntegriCloud