public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/wschmidt/heads/builtins10)] rs6000: **squash me** for 0005
@ 2021-05-21 21:05 William Schmidt
0 siblings, 0 replies; only message in thread
From: William Schmidt @ 2021-05-21 21:05 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:2da22300a3ac7b1e65bea8da3512b5bbf073f573
commit 2da22300a3ac7b1e65bea8da3512b5bbf073f573
Author: Bill Schmidt <wschmidt@linux.ibm.com>
Date: Fri May 21 16:04:17 2021 -0500
rs6000: **squash me** for 0005
2021-05-21 Bill Schmidt <wschmidt@linux.ibm.com>
gcc/
* config/rs6000/rs6000-gen-builtins.c (diag): Make static and
remove initializer.
Diff:
---
gcc/config/rs6000/rs6000-gen-builtins.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/config/rs6000/rs6000-gen-builtins.c b/gcc/config/rs6000/rs6000-gen-builtins.c
index 6bca401a77f..dd23fc8b010 100644
--- a/gcc/config/rs6000/rs6000-gen-builtins.c
+++ b/gcc/config/rs6000/rs6000-gen-builtins.c
@@ -569,8 +569,8 @@ static typemap type_map[TYPE_MAP_SIZE] =
};
/* Pointer to a diagnostic function. */
-void (*diag) (const char *, ...) __attribute__ ((format (printf, 1, 2)))
- = NULL;
+static void (*diag) (const char *, ...)
+ __attribute__ ((format (printf, 1, 2)));
/* Custom diagnostics. */
static void __attribute__ ((format (printf, 1, 2)))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-21 21:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-21 21:05 [gcc(refs/users/wschmidt/heads/builtins10)] rs6000: **squash me** for 0005 William Schmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).