[PATCH] internalize a driver fn

https://gcc.gnu.org/ml/gcc-patches/2018-09/msg00462.html
	* gcc.h (pfatal_with_name): Don't declare here.
	* gcc.c (pfatal_with_name): Make static.

From-SVN: r264178
This commit is contained in:
Nathan Sidwell 2018-09-09 07:42:17 +00:00 committed by Nathan Sidwell
parent 6d3c2b0a04
commit 04dad37c39
3 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2018-09-09 Nathan Sidwell <nathan@acm.org>
* gcc.h (pfatal_with_name): Don't declare here.
* gcc.c (pfatal_with_name): Make static.
2018-09-09 Xianmiao Qu <xianmiao_qu@c-sky.com>
* config/csky/csky.md (*cskyv2_adddi3, *cskyv2_subdi3): Add

View File

@ -373,6 +373,7 @@ 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_with_name (const char *) ATTRIBUTE_NORETURN;
static void display_help (void);
static void add_preprocessor_option (const char *, int);
static void add_assembler_option (const char *, int);

View File

@ -71,7 +71,6 @@ struct spec_function
/* These are exported by gcc.c. */
extern int do_spec (const char *);
extern void record_temp_file (const char *, int, int);
extern void pfatal_with_name (const char *) ATTRIBUTE_NORETURN;
extern void set_input (const char *);
/* Spec files linked with gcc.c must provide definitions for these. */