public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r10-11416] Darwin, crts: Fix a build warning.
@ 2023-05-21 18:58 Iain D Sandoe
0 siblings, 0 replies; only message in thread
From: Iain D Sandoe @ 2023-05-21 18:58 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:13cea2625edaeedd965f56986bb8eede70057006
commit r10-11416-g13cea2625edaeedd965f56986bb8eede70057006
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Mon Nov 1 16:58:20 2021 +0000
Darwin, crts: Fix a build warning.
We have a shim crt for Darwin10 that implements functionality
missing in libSystem. Provide this with a prototype to silence the
warning about this.
libgcc/ChangeLog:
* config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
(cherry picked from commit 7a300b413a62e1989bd89064fd5594aabe371d3a)
Diff:
---
libgcc/config/darwin10-unwind-find-enc-func.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libgcc/config/darwin10-unwind-find-enc-func.c b/libgcc/config/darwin10-unwind-find-enc-func.c
index 67c43757e50..882ec3a2372 100644
--- a/libgcc/config/darwin10-unwind-find-enc-func.c
+++ b/libgcc/config/darwin10-unwind-find-enc-func.c
@@ -1,6 +1,7 @@
#include "tconfig.h"
#include "tsystem.h"
#include "unwind-dw2-fde.h"
+#include "libgcc_tm.h"
void *
_darwin10_Unwind_FindEnclosingFunction (void *pc)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-21 18:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-21 18:58 [gcc r10-11416] Darwin, crts: Fix a build warning Iain D Sandoe
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).