diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-03-04 13:38:39 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-03-04 13:38:39 +0000 |
commit | 912759bc5213f48eed3f062e1ea5cdd5d0818a93 (patch) | |
tree | 6a7f732276a0b6f21828156f18387bc8f2183779 /gcc/bc-emit.c | |
parent | 9ded3c8e4299e92a305404e36bc1034800bb1324 (diff) | |
download | ppe42-gcc-912759bc5213f48eed3f062e1ea5cdd5d0818a93.tar.gz ppe42-gcc-912759bc5213f48eed3f062e1ea5cdd5d0818a93.zip |
(bc_xstrdup): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11410 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bc-emit.c')
-rw-r--r-- | gcc/bc-emit.c | 14 |
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; -} |