Commit 2d234b4f by Zack Weinberg Committed by Jeff Law

* fix-header.c: Don't define xstrdup here.

From-SVN: r24337
parent b884a51a
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> Wed Dec 16 05:11:04 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* loop.c (consec_sets_giv): New argument last_consec_insn. * loop.c (consec_sets_giv): New argument last_consec_insn.
......
...@@ -871,15 +871,6 @@ write_rbrac () ...@@ -871,15 +871,6 @@ write_rbrac ()
#endif #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: /* Returns 1 iff the file is properly protected from multiple inclusion:
#ifndef PROTECT_NAME #ifndef PROTECT_NAME
#define PROTECT_NAME #define PROTECT_NAME
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment