[PATCH] libgloss: moxie: Remove unnecessary print() declaration
Jeff Johnston
jjohnstn@redhat.com
Fri May 29 19:28:30 GMT 2026
Patch merged. Thanks.
-- Jeff J.
On Fri, May 29, 2026 at 12:47 AM Chris Packham <judge.packham@gmail.com>
wrote:
> libgloss/glue.h has a declaration of print() so there's no need for
> putnum.c to have one (which is incorrect and triggers a compilation
> warning/error).
>
> Signed-off-by: Chris Packham <judge.packham@gmail.com>
> ---
> libgloss/moxie/putnum.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/libgloss/moxie/putnum.c b/libgloss/moxie/putnum.c
> index 9af5b4d4c..0f7e89453 100644
> --- a/libgloss/moxie/putnum.c
> +++ b/libgloss/moxie/putnum.c
> @@ -14,8 +14,6 @@
> */
> #include "glue.h"
>
> -void print (char *);
> -
> /*
> * putnum -- print a 32 bit number in hex
> */
> --
> 2.54.0
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/newlib/attachments/20260529/2e655cf5/attachment.htm>
More information about the Newlib
mailing list