From 688ebb768393d474e970676c733feabe6980e69c Mon Sep 17 00:00:00 2001 From: guenther Date: Tue, 7 Mar 2023 17:43:59 +0000 Subject: [PATCH] Delete obsolete /* ARGSUSED1 */ lint comments. ok claudio@ cheloha@ krw@ deraadt@ miod@ millert@ --- sbin/ipsecctl/ipsecctl.c | 3 +-- sbin/ipsecctl/pfkdump.c | 16 +--------------- usr.bin/find/function.c | 3 +-- usr.bin/usbhidctl/usbhid.c | 6 +----- 4 files changed, 4 insertions(+), 24 deletions(-) diff --git a/sbin/ipsecctl/ipsecctl.c b/sbin/ipsecctl/ipsecctl.c index 3b218d4d08e..51858d1a404 100644 --- a/sbin/ipsecctl/ipsecctl.c +++ b/sbin/ipsecctl/ipsecctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsecctl.c,v 1.84 2018/09/07 12:43:30 kn Exp $ */ +/* $OpenBSD: ipsecctl.c,v 1.85 2023/03/07 17:43:59 guenther Exp $ */ /* * Copyright (c) 2004, 2005 Hans-Joerg Hoexer * @@ -503,7 +503,6 @@ ipsecctl_print_flow(struct ipsec_rule *r, int opts) printf("\n"); } -/* ARGSUSED1 */ void ipsecctl_print_sa(struct ipsec_rule *r, int opts) { diff --git a/sbin/ipsecctl/pfkdump.c b/sbin/ipsecctl/pfkdump.c index a34f1503930..b2bd5825c63 100644 --- a/sbin/ipsecctl/pfkdump.c +++ b/sbin/ipsecctl/pfkdump.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfkdump.c,v 1.55 2021/10/22 12:30:54 bluhm Exp $ */ +/* $OpenBSD: pfkdump.c,v 1.56 2023/03/07 17:43:59 guenther Exp $ */ /* * Copyright (c) 2003 Markus Friedl. All rights reserved. @@ -308,7 +308,6 @@ print_sa(struct sadb_ext *ext, struct sadb_msg *msg, int opts) sa->sadb_sa_replay, print_flags(sa->sadb_sa_flags)); } -/* ARGSUSED1 */ static void print_addr(struct sadb_ext *ext, struct sadb_msg *msg, int opts) { @@ -340,7 +339,6 @@ print_addr(struct sadb_ext *ext, struct sadb_msg *msg, int opts) } } -/* ARGSUSED1 */ static void print_key(struct sadb_ext *ext, struct sadb_msg *msg, int opts) { @@ -356,7 +354,6 @@ print_key(struct sadb_ext *ext, struct sadb_msg *msg, int opts) } } -/* ARGSUSED1 */ static void print_life(struct sadb_ext *ext, struct sadb_msg *msg, int opts) { @@ -384,7 +381,6 @@ print_proto(struct sadb_ext *ext, struct sadb_msg *msg, int opts) proto->sadb_protocol_proto, proto->sadb_protocol_flags); } -/* ARGSUSED1 */ static void print_flow(struct sadb_ext *ext, struct sadb_msg *msg, int opts) { @@ -490,7 +486,6 @@ print_alg(struct sadb_alg *alg, u_int8_t ext_type) alg->sadb_alg_minbits, alg->sadb_alg_maxbits); } -/* ARGSUSED1 */ static void print_supp(struct sadb_ext *ext, struct sadb_msg *msg, int opts) { @@ -510,7 +505,6 @@ print_supp(struct sadb_ext *ext, struct sadb_msg *msg, int opts) } } -/* ARGSUSED1 */ static void print_comb(struct sadb_comb *comb, struct sadb_msg *msg, int opts) { @@ -538,7 +532,6 @@ print_comb(struct sadb_comb *comb, struct sadb_msg *msg, int opts) #endif } -/* ARGSUSED1 */ static void print_prop(struct sadb_ext *ext, struct sadb_msg *msg, int opts) { @@ -553,7 +546,6 @@ print_prop(struct sadb_ext *ext, struct sadb_msg *msg, int opts) print_comb(comb, msg, opts); } -/* ARGSUSED1 */ static void print_sens(struct sadb_ext *ext, struct sadb_msg *msg, int opts) { @@ -565,7 +557,6 @@ print_sens(struct sadb_ext *ext, struct sadb_msg *msg, int opts) sens->sadb_sens_integ_level); } -/* ARGSUSED1 */ static void print_spir(struct sadb_ext *ext, struct sadb_msg *msg, int opts) { @@ -575,7 +566,6 @@ print_spir(struct sadb_ext *ext, struct sadb_msg *msg, int opts) spirange->sadb_spirange_min, spirange->sadb_spirange_max); } -/* ARGSUSED1 */ static void print_ident(struct sadb_ext *ext, struct sadb_msg *msg, int opts) { @@ -586,7 +576,6 @@ print_ident(struct sadb_ext *ext, struct sadb_msg *msg, int opts) ident->sadb_ident_id, (char *)(ident + 1)); } -/* ARGSUSED1 */ static void print_policy(struct sadb_ext *ext, struct sadb_msg *msg, int opts) { @@ -595,7 +584,6 @@ print_policy(struct sadb_ext *ext, struct sadb_msg *msg, int opts) printf("seq %u", x_policy->sadb_x_policy_seq); } -/* ARGSUSED1 */ static void print_udpenc(struct sadb_ext *ext, struct sadb_msg *msg, int opts) { @@ -604,7 +592,6 @@ print_udpenc(struct sadb_ext *ext, struct sadb_msg *msg, int opts) printf("udpencap port %u", ntohs(x_udpencap->sadb_x_udpencap_port)); } -/* ARGSUSED1 */ static void print_rdomain(struct sadb_ext *ext, struct sadb_msg *msg, int opts) { @@ -891,7 +878,6 @@ pfkey_print_sa(struct sadb_msg *msg, int opts) fflush(stdout); } -/* ARGSUSED1 */ void pfkey_monitor_sa(struct sadb_msg *msg, int opts) { diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index 381a6b53707..3401fd8918b 100644 --- a/usr.bin/find/function.c +++ b/usr.bin/find/function.c @@ -1,4 +1,4 @@ -/* $OpenBSD: function.c,v 1.51 2022/12/26 18:51:18 jmc Exp $ */ +/* $OpenBSD: function.c,v 1.52 2023/03/07 17:43:59 guenther Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -1681,7 +1681,6 @@ c_or(char *ignore, char ***ignored, int unused) * lists of files to feed to subprocesses 2) State on exit * status of past subprocesses. */ -/* ARGSUSED1 */ int plan_cleanup(PLAN *plan, void *arg) { diff --git a/usr.bin/usbhidctl/usbhid.c b/usr.bin/usbhidctl/usbhid.c index 8bcfd17c80b..9a54c338ae4 100644 --- a/usr.bin/usbhidctl/usbhid.c +++ b/usr.bin/usbhidctl/usbhid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: usbhid.c,v 1.19 2022/12/04 23:50:50 cheloha Exp $ */ +/* $OpenBSD: usbhid.c,v 1.20 2023/03/07 17:43:59 guenther Exp $ */ /* $NetBSD: usbhid.c,v 1.22 2002/02/20 20:30:42 christos Exp $ */ /* @@ -439,7 +439,6 @@ setreport(struct Sreport *report, int hidfd, int repindex) } } -/* ARGSUSED1 */ static int varop_value(struct hid_item *item, struct Susbvar *var, u_int32_t const *collist, size_t collen, u_char *buf) @@ -448,7 +447,6 @@ varop_value(struct hid_item *item, struct Susbvar *var, return 0; } -/* ARGSUSED1 */ static int varop_display(struct hid_item *item, struct Susbvar *var, u_int32_t const *collist, size_t collen, u_char *buf) @@ -481,7 +479,6 @@ varop_display(struct hid_item *item, struct Susbvar *var, return 0; } -/* ARGSUSED1 */ static int varop_modify(struct hid_item *item, struct Susbvar *var, u_int32_t const *collist, size_t collen, u_char *buf) @@ -535,7 +532,6 @@ reportitem(char const *label, struct hid_item const *item, unsigned int mflags) printf("\n"); } -/* ARGSUSED1 */ static int varop_report(struct hid_item *item, struct Susbvar *var, u_int32_t const *collist, size_t collen, u_char *buf) -- 2.20.1