aboutsummaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@rabi.phys.columbia.edu>1998-12-15 22:50:27 +0000
committerJeff Law <law@gcc.gnu.org>1998-12-15 15:50:27 -0700
commit2d234b4f64fc68915f65248dd00831e4292db160 (patch)
tree0e6998f63730336cfe543dbc0a875dcc7f67eea2 /gcc/fix-header.c
parentb884a51af99d20a120d7305bd35441737a28302e (diff)
downloadgcc-2d234b4f64fc68915f65248dd00831e4292db160.zip
gcc-2d234b4f64fc68915f65248dd00831e4292db160.tar.gz
gcc-2d234b4f64fc68915f65248dd00831e4292db160.tar.bz2
* fix-header.c: Don't define xstrdup here.
From-SVN: r24337
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r--gcc/fix-header.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c
index ba169fa..5ac167f 100644
--- a/gcc/fix-header.c
+++ b/gcc/fix-header.c
@@ -871,15 +871,6 @@ write_rbrac ()
#endif
}
-char *
-xstrdup (str)
- const char *str;
-{
- char *copy = (char *) xmalloc (strlen (str) + 1);
- strcpy (copy, str);
- return copy;
-}
-
/* Returns 1 iff the file is properly protected from multiple inclusion:
#ifndef PROTECT_NAME
#define PROTECT_NAME