[newlib-cygwin/main] libgloss: i386: cygmon-gmon.c: add functions return type
Jeff Johnston
jjohnstn@sourceware.org
Mon Nov 3 20:33:35 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=959217095d0f01cc58177120b42a0f82607b9c47
commit 959217095d0f01cc58177120b42a0f82607b9c47
Author: Vincent Mailhol <mailhol@kernel.org>
Date: Mon Nov 3 15:31:17 2025 -0500
libgloss: i386: cygmon-gmon.c: add functions return type
Diff:
---
libgloss/i386/cygmon-gmon.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/libgloss/i386/cygmon-gmon.c b/libgloss/i386/cygmon-gmon.c
index 778dbd76d..3c2f07fed 100644
--- a/libgloss/i386/cygmon-gmon.c
+++ b/libgloss/i386/cygmon-gmon.c
@@ -247,6 +247,7 @@ _mcleanup()
static char already_setup = 0;
+void
_mcount()
{
register char *selfpc;
@@ -269,8 +270,8 @@ _mcount()
if (! already_setup)
{
- extern _etext();
- extern _ftext();
+ extern char _etext();
+ extern char _ftext();
already_setup = 1;
monstartup(_ftext, _etext);
atexit(_mcleanup);
More information about the Newlib-cvs
mailing list