From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2119) id CAC563858D33; Sat, 23 Dec 2023 03:41:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CAC563858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1703302902; bh=RHt6DJkCjCZ0+akhhy74zAr3cahnSvQ8W3JqzLZt8jU=; h=From:To:Subject:Date:From; b=Mmi7Dl0PKz2naMXPwq6Nz0p/93uthkXAKUSLyDWGSZWSBcXg6UE/cSAi8XV2L3EWi or/vEP1rP2BNwRGf9x6b5mYfXnZlUCPEFbhQIx10khHRLNF2aVsAceJPyjAcg9y+Hw lKSbSLWdVmPIp6IEwITpG4UMWYYY3KMttydAnNwQ= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Jeff Law To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Fix frv libgloss bits for c99/gcc-14\ X-Act-Checkin: newlib-cygwin X-Git-Author: Jeff Law X-Git-Refname: refs/heads/master X-Git-Oldrev: dc7ee581321c4023f9ffe0c9f609071354ba1512 X-Git-Newrev: 9f3e8ba3b25e162a3c1f383a4c7a84b96fa81cd6 Message-Id: <20231223034142.CAC563858D33@sourceware.org> Date: Sat, 23 Dec 2023 03:41:42 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D9f3e8ba3b25= e162a3c1f383a4c7a84b96fa81cd6 commit 9f3e8ba3b25e162a3c1f383a4c7a84b96fa81cd6 Author: Jeff Law Date: Fri Dec 22 20:40:21 2023 -0700 Fix frv libgloss bits for c99/gcc-14\ =20 Same as we've seen elsewhere. Add missing prototype and header include. Diff: --- libgloss/frv/putnum.c | 2 ++ libgloss/frv/sim-inbyte.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/libgloss/frv/putnum.c b/libgloss/frv/putnum.c index a07315e13..b2b2c4435 100644 --- a/libgloss/frv/putnum.c +++ b/libgloss/frv/putnum.c @@ -14,6 +14,8 @@ */ #include "glue.h" =20 +extern void print (char *ptr); + /* * putnum -- print a 32 bit number in hex */ diff --git a/libgloss/frv/sim-inbyte.c b/libgloss/frv/sim-inbyte.c index 9d39751b3..f5f49b9b3 100644 --- a/libgloss/frv/sim-inbyte.c +++ b/libgloss/frv/sim-inbyte.c @@ -14,6 +14,8 @@ * they apply. */ =20 +#include + int inbyte () {