From 9342ec4d7ba3399d9b9543d97df04b5c2797e7db Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Fri, 8 Nov 2019 22:09:30 +0000 Subject: [PATCH] [Darwin] Add include guard to darwin-protos.h The Darwin protos header is missing an include guard, this adds one. gcc/ChangeLog: 2019-11-08 Iain Sandoe * config/darwin-protos.h: Add include quard. From-SVN: r277993 --- gcc/ChangeLog | 4 ++++ gcc/config/darwin-protos.h | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b0965ed..adb9505 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-11-08 Iain Sandoe + + * config/darwin-protos.h: Add include quard. + 2019-11-08 Andrew MacLeod * range-op.h (range_operator::fold_range): Return result in a diff --git a/gcc/config/darwin-protos.h b/gcc/config/darwin-protos.h index afeca81..e6721c7 100644 --- a/gcc/config/darwin-protos.h +++ b/gcc/config/darwin-protos.h @@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ +#ifndef CONFIG_DARWIN_PROTOS_H +#define CONFIG_DARWIN_PROTOS_H + extern void darwin_init_sections (void); extern int name_needs_quotes (const char *); @@ -123,3 +126,5 @@ extern void darwin_override_options (void); extern void darwin_patch_builtins (void); extern void darwin_rename_builtins (void); extern bool darwin_libc_has_function (enum function_class fn_class); + +#endif /* CONFIG_DARWIN_PROTOS_H */ -- 2.7.4