From: Nathan Sidwell Date: Sun, 9 Sep 2018 07:42:17 +0000 (+0000) Subject: [PATCH] internalize a driver fn X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=04dad37c39e77274ff30873e2c8a205c764df5ce;p=gcc.git [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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index efed6450017..e8b623711f6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-09-09 Nathan Sidwell + + * gcc.h (pfatal_with_name): Don't declare here. + * gcc.c (pfatal_with_name): Make static. + 2018-09-09 Xianmiao Qu * config/csky/csky.md (*cskyv2_adddi3, *cskyv2_subdi3): Add diff --git a/gcc/gcc.c b/gcc/gcc.c index 780d4859ef3..80667fdb160 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -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); diff --git a/gcc/gcc.h b/gcc/gcc.h index a7606183393..7bfa387c523 100644 --- a/gcc/gcc.h +++ b/gcc/gcc.h @@ -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. */