Commit bb380e9d by Richard Kenner

(xstrdup): Moved from here.

From-SVN: r11407
parent a0f675b3
/* Output Dwarf format symbol table information from the GNU C compiler.
Copyright (C) 1992, 1993, 1995 Free Software Foundation, Inc.
Copyright (C) 1992, 1993, 1995, 1996 Free Software Foundation, Inc.
Written by Ron Guilmette (rfg@netcom.com) for
Network Computing Devices, August, September, October, November 1990.
......@@ -735,16 +735,6 @@ static unsigned lookup_filename ();
/************************ general utility functions **************************/
inline char *
xstrdup (s)
register char *s;
{
register char *p = (char *) xmalloc (strlen (s) + 1);
strcpy (p, s);
return p;
}
inline int
is_pseudo_reg (rtl)
register rtx rtl;
......
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