Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2023 04:06:22 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 4ac3cfa939e4 - main - traceroute: Remove stray __P
Message-ID:  <202311180406.3AI46MU7081532@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=4ac3cfa939e458560705713335764ae64c1b8a7f

commit 4ac3cfa939e458560705713335764ae64c1b8a7f
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-11-18 03:48:48 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-11-18 04:05:00 +0000

    traceroute: Remove stray __P
    
    Remove stray __P(). It's no longer needed, and since the whole rest of
    the file lacks them, it's not very useful.
    
    Sponsored by:           Netflix
---
 contrib/traceroute/traceroute.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/traceroute/traceroute.c b/contrib/traceroute/traceroute.c
index 48ad8fdc9104..38fd812b17f6 100644
--- a/contrib/traceroute/traceroute.c
+++ b/contrib/traceroute/traceroute.c
@@ -388,7 +388,7 @@ int	packet_ok(u_char *, int, struct sockaddr_in *, int);
 char	*pr_type(u_char);
 void	print(u_char *, int, struct sockaddr_in *);
 #ifdef	IPSEC
-int	setpolicy __P((int so, char *policy));
+int	setpolicy(int so, char *policy);
 #endif
 void	send_probe(int, int);
 struct outproto *setproto(char *);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311180406.3AI46MU7081532>