[PATCH] libgloss: use expected prototype for __inln()

Chris Packham <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Resolve the following build error

  newlib/libgloss/rs6000/mvme-read.c:31:24: error: too many arguments to function '__inln'; expected 0, have 1
    31 |       char *read_end = __inln (buf);
       |                        ^~~~~~  ~~~

Signed-off-by: Chris Packham <[email protected]>
---
 libgloss/rs6000/mvme-read.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libgloss/rs6000/mvme-read.c b/libgloss/rs6000/mvme-read.c
index 1c823b433..f8c539e76 100644
--- a/libgloss/rs6000/mvme-read.c
+++ b/libgloss/rs6000/mvme-read.c
@@ -14,7 +14,7 @@
  */
 
 extern int inbyte ();
-extern char * __inln ();
+extern char * __inln (char *buf);
 
 /*
  * read  -- read bytes from the serial port. Ignore fd, since
-- 
2.49.0
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.