Commit 099ff66c by Andreas Jaeger

* gcc.c (pfatal_pexecute): Remove unused local function.

From-SVN: r99732
parent 2acf977b
2005-05-15 Andreas Jaeger <aj@suse.de>
* gcc.c (pfatal_pexecute): Remove unused local function.
2005-05-15 Richard Sandiford <rsandifo@redhat.com>
* optc-gen.awk: Remove excess indentation.
......
......@@ -328,7 +328,6 @@ static int default_arg (const char *, int);
static void set_multilib_dir (void);
static void print_multilib_info (void);
static void perror_with_name (const char *);
static void pfatal_pexecute (const char *, const char *) ATTRIBUTE_NORETURN;
static void notice (const char *, ...) ATTRIBUTE_PRINTF_1;
static void display_help (void);
static void add_preprocessor_option (const char *, int);
......@@ -6706,24 +6705,6 @@ perror_with_name (const char *name)
error ("%s: %s", name, xstrerror (errno));
}
static void
pfatal_pexecute (const char *errmsg_fmt, const char *errmsg_arg)
{
if (errmsg_arg)
{
int save_errno = errno;
/* Space for trailing '\0' is in %s. */
char *msg = xmalloc (strlen (errmsg_fmt) + strlen (errmsg_arg));
sprintf (msg, errmsg_fmt, errmsg_arg);
errmsg_fmt = msg;
errno = save_errno;
}
pfatal_with_name (errmsg_fmt);
}
/* Output an error message and exit. */
void
......
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