[committed] pru: libgloss: Remove duplicate function declaration

Message ID 20250221190232.21294-1-dimitar@dinux.eu
State New
Headers
Series [committed] pru: libgloss: Remove duplicate function declaration |

Commit Message

Dimitar Dimitrov Feb. 21, 2025, 7:02 p.m. UTC
  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(-)
  

Patch

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
  */