git: 7ec88f5b4b3b - stable/13 - ddb: ansify

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sun, 09 Apr 2023 21:35:45 UTC
The branch stable/13 has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=7ec88f5b4b3bd10016a8b831a189dafb15f759fd

commit 7ec88f5b4b3bd10016a8b831a189dafb15f759fd
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-02-08 00:09:23 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-04-09 15:46:48 +0000

    ddb: ansify
    
    Reported by:    clang 15
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    
    (cherry picked from commit fb1b78bfcead2126f9a984ac1c3e6a3a7e505f83)
---
 sys/ddb/db_input.c | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

diff --git a/sys/ddb/db_input.c b/sys/ddb/db_input.c
index 41396e0a041f..b4bd667067c6 100644
--- a/sys/ddb/db_input.c
+++ b/sys/ddb/db_input.c
@@ -72,18 +72,14 @@ static void	db_putnchars(int c, int count);
 static void	db_putstring(char *s, int count);
 
 static void
-db_putstring(s, count)
-	char	*s;
-	int	count;
+db_putstring(char *s, int count)
 {
 	while (--count >= 0)
 	    cnputc(*s++);
 }
 
 static void
-db_putnchars(c, count)
-	int	c;
-	int	count;
+db_putnchars(int c, int count)
 {
 	while (--count >= 0)
 	    cnputc(c);
@@ -95,9 +91,7 @@ db_putnchars(c, count)
 #define	DEL_FWD		0
 #define	DEL_BWD		1
 static void
-db_delete(n, bwd)
-	int	n;
-	int	bwd;
+db_delete(int n, int bwd)
 {
 	char *p;
 
@@ -116,8 +110,7 @@ db_delete(n, bwd)
 
 /* returns true at end-of-line */
 static int
-db_inputchar(c)
-	int	c;
+db_inputchar(int c)
 {
 	static int escstate;
 
@@ -314,9 +307,7 @@ cnmaygetc()
 }
 
 int
-db_readline(lstart, lsize)
-	char *	lstart;
-	int	lsize;
+db_readline(char *lstart, int lsize)
 {
 
 	if (lsize < 2)