From: Iain Sandoe Date: Fri, 8 Nov 2019 22:09:30 +0000 (+0000) Subject: [Darwin] Add include guard to darwin-protos.h X-Git-Tag: misc/cutover-git~1409 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9342ec4d7ba3399d9b9543d97df04b5c2797e7db;p=thirdparty%2Fgcc.git [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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b0965ed84856..adb950557844 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 afeca81f807f..e6721c7543cf 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 */