[committed] pru: libgloss: Remove duplicate function declaration
Dimitar Dimitrov
dimitar@dinux.eu
Fri Feb 21 19:02:32 GMT 2025
Commit 8a8fb570d7c5310a03a34b3dd6f9f8bb35ee9f40 introduced a declaration
for "print", which conflicts with the incompatible declaration in
pru/putnumc.c.
Fix by removing the duplicate in pru/putnum.c, and rely on the
declaration in "glue.h".
Pushed to main branch as fee0d9bc19f664f49ede992462252dd57c30055d
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
---
libgloss/pru/putnum.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libgloss/pru/putnum.c b/libgloss/pru/putnum.c
index 127e1c3dd..0576204d5 100644
--- a/libgloss/pru/putnum.c
+++ b/libgloss/pru/putnum.c
@@ -14,8 +14,6 @@
*/
#include "glue.h"
-extern void print (char *ptr);
-
/*
* putnum -- print a 32 bit number in hex
*/
--
2.48.1
More information about the Newlib
mailing list