[committed] pru: libgloss: Remove duplicate function declaration

Dimitar Dimitrov <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
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 <[email protected]>
---
 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.