libgloss: moxie: Remove unnecessary print() declaration

Message ID 20260529044726.1465989-1-judge.packham@gmail.com
State New
Headers
Series libgloss: moxie: Remove unnecessary print() declaration |

Commit Message

Chris Packham May 29, 2026, 4:47 a.m. UTC
  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(-)
  

Comments

Jeff Johnston May 29, 2026, 7:28 p.m. UTC | #1
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
>
>
  

Patch

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