[PATCH] libgloss: moxie: Remove unnecessary print() declaration

Chris Packham judge.packham@gmail.com
Fri May 29 04:47:26 GMT 2026


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



More information about the Newlib mailing list