Re: [PATCH] info/terminal.c: use modern prototypes for ncurses

Gavin Smith <[email protected]>
Newsgroups gmane.comp.tex.texinfo.bugs
Message-ID <aZCrGmCRU4eOXzxr@orangestar>
On Fri, Feb 13, 2026 at 04:25:50PM -0500, Tony Battersby wrote:
> This patch fixes a compile error with gcc 15 that I experienced with
> Yocto 5.3 (whinlatter).  It only affects builds that do not have
> termcap.h installed.
> 
> Prototypes were copied from:
> 
> https://linux.die.net/man/3/tgetnum
> 
> Tony Battersby
> Cybernetics

Thanks for sending.  I've committed it.

By the way, I only saw your email by chance as it was marked as
Spam.


> From 3cf0712d7660b676cef365e9e55dcfd92800639f Mon Sep 17 00:00:00 2001
> From: Tony Battersby <[email protected]>
> Date: Fri, 13 Feb 2026 16:18:02 -0500
> Subject: [PATCH] info/terminal.c: use modern prototypes for curses
> 
> Fix compile errors with -std=gnu23 (which is the default with gcc 15)
> on systems that do not have termcap.h.
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.