git: 6b06255fbe23 - main - traceroute: Use C89 function definition for one straggler.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Apr 2023 18:31:38 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=6b06255fbe234e00998e8f57bd26b9c1fd3a3717 commit 6b06255fbe234e00998e8f57bd26b9c1fd3a3717 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2023-04-18 18:28:41 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2023-04-18 18:28:41 +0000 traceroute: Use C89 function definition for one straggler. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39531 --- contrib/traceroute/traceroute.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/contrib/traceroute/traceroute.c b/contrib/traceroute/traceroute.c index e515f8785ba2..48ad8fdc9104 100644 --- a/contrib/traceroute/traceroute.c +++ b/contrib/traceroute/traceroute.c @@ -1347,9 +1347,7 @@ send_probe(int seq, int ttl) #if defined(IPSEC) && defined(IPSEC_POLICY_IPSEC) int -setpolicy(so, policy) - int so; - char *policy; +setpolicy(int so, char *policy) { char *buf;