Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libcurses/slave tests/libcurses: clean up comments



details:   https://anonhg.NetBSD.org/src/rev/5a15e47a5ecf
branches:  trunk
changeset: 1026777:5a15e47a5ecf
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon Dec 06 22:45:42 2021 +0000

description:
tests/libcurses: clean up comments

diffstat:

 tests/lib/libcurses/slave/commands.c        |  4 ++--
 tests/lib/libcurses/slave/curses_commands.c |  6 +++---
 tests/lib/libcurses/slave/curses_commands.h |  6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)

diffs (65 lines):

diff -r 7cec80c4a82d -r 5a15e47a5ecf tests/lib/libcurses/slave/commands.c
--- a/tests/lib/libcurses/slave/commands.c      Mon Dec 06 22:35:20 2021 +0000
+++ b/tests/lib/libcurses/slave/commands.c      Mon Dec 06 22:45:42 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: commands.c,v 1.16 2021/09/04 01:34:32 rin Exp $        */
+/*     $NetBSD: commands.c,v 1.17 2021/12/06 22:45:42 rillig Exp $     */
 
 /*-
  * Copyright 2009 Brett Lymn <blymn%NetBSD.org@localhost>
@@ -108,7 +108,7 @@
 }
 
 /*
- * Report an pointer value back to the director
+ * Report a pointer value back to the director
  */
 void
 report_ptr(void *ptr)
diff -r 7cec80c4a82d -r 5a15e47a5ecf tests/lib/libcurses/slave/curses_commands.c
--- a/tests/lib/libcurses/slave/curses_commands.c       Mon Dec 06 22:35:20 2021 +0000
+++ b/tests/lib/libcurses/slave/curses_commands.c       Mon Dec 06 22:45:42 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: curses_commands.c,v 1.29 2021/06/13 21:54:51 rillig Exp $      */
+/*     $NetBSD: curses_commands.c,v 1.30 2021/12/06 22:45:42 rillig Exp $      */
 
 /*-
  * Copyright 2009 Brett Lymn <blymn%NetBSD.org@localhost>
@@ -150,8 +150,8 @@
                return
 
 /*
- * Required by the API, intended for future extensions, but this
- * implementation does not support the extension.
+ * These NULL argument is required by the API, intended for future extensions,
+ * but this implementation does not support the extension.
  */
 #define ARG_NULL() \
        args++
diff -r 7cec80c4a82d -r 5a15e47a5ecf tests/lib/libcurses/slave/curses_commands.h
--- a/tests/lib/libcurses/slave/curses_commands.h       Mon Dec 06 22:35:20 2021 +0000
+++ b/tests/lib/libcurses/slave/curses_commands.h       Mon Dec 06 22:45:42 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: curses_commands.h,v 1.8 2021/06/13 19:17:53 rillig Exp $       */
+/*     $NetBSD: curses_commands.h,v 1.9 2021/12/06 22:45:42 rillig Exp $       */
 
 /*-
  * Copyright 2009 Brett Lymn <blymn%NetBSD.org@localhost>
@@ -42,7 +42,7 @@
 
 void cmd_DRAIN(int, char **); /* not a curses function */
 
-/* These functions can be called before initscr*/
+/* These functions can be called before initscr */
 void cmd_filter(int, char **);
 void cmd_ripoffline(int, char **);
 void cmd_use_env(int, char **);
@@ -398,7 +398,7 @@
 void cmd_winnwstr(int, char **);
 void cmd_winwstr(int, char **);
 
-/* cchar handlgin */
+/* cchar handling */
 void cmd_setcchar(int, char **);
 void cmd_getcchar(int, char **);
 



Home | Main Index | Thread Index | Old Index