* fix-header.c: Don't define xstrdup here.
authorZack Weinberg <zack@rabi.phys.columbia.edu>
Tue, 15 Dec 1998 22:50:27 +0000 (22:50 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 15 Dec 1998 22:50:27 +0000 (15:50 -0700)
From-SVN: r24337

gcc/ChangeLog
gcc/fix-header.c

index a11ec21..f701355 100644 (file)
@@ -1,3 +1,7 @@
+Tue Dec 15 23:47:42 1998  Zack Weinberg  <zack@rabi.phys.columbia.edu>  
+
+       * fix-header.c: Don't define xstrdup here.
+
 Wed Dec 16 05:11:04 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
 
        * loop.c (consec_sets_giv): New argument last_consec_insn.
index ba169fa..5ac167f 100644 (file)
@@ -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