bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 30/52] man/curs_memleaks.3x: Drop unnecessary pointer star.


From: G. Branden Robinson
Subject: [PATCH 30/52] man/curs_memleaks.3x: Drop unnecessary pointer star.
Date: Fri, 22 Dec 2023 17:06:28 -0600

If we _say_ something is a pointer to a data type, we don't also need
the declaration-ish star notating it.

(A "SCREEN* pointer" type declaration is a "SCREEN**", no?)
---
 man/curs_memleaks.3x | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/curs_memleaks.3x b/man/curs_memleaks.3x
index db2bccf2f..5c01cab8b 100644
--- a/man/curs_memleaks.3x
+++ b/man/curs_memleaks.3x
@@ -114,7 +114,7 @@ .SH PORTABILITY
 of the memory allocated by curses:
 .bP
 The portable part of \fB\%exit_curses\fP can be freed using \fB\%delscreen\fP,
-passing the \fISCREEN*\fP pointer returned by \fB\%newterm\fP.
+passing the \fISCREEN\fP pointer returned by \fB\%newterm\fP.
 .IP
 In some implementations, there is a global variable \fBsp\fP
 which could be used, e.g., if the screen were only initialized
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]