From nobody Wed Apr 26 20:19:02 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q69F26c0hz47FDC; Wed, 26 Apr 2023 20:19:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q69F2674Dz4K0g; Wed, 26 Apr 2023 20:19:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682540342; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nNh8tEBj8TRFCg++N0RE+I5I0KH7O2+F031LNNk8V1g=; b=B+G4dO3RjN56WKzStJXCLBKYGw3/uH7J88BCsrZ+8NxOzyY1L0s2DOBdzC15wiYtBsx3vO JN8DkUT0AvdCvY9e8FrWsX+Hk1opfj3May6+8LdFlKqO+SjHsmRzduSVuIYDQUj63J3p5I wB26DOe2ZmvOpBRAB2zkAXI7xS2Aq9tGU95i9WJlm2m/Wlf0lyL3xU0wZfHO9Lp3+S6TNG 265ANvhi4tWpcs8JxeKwjbZdaHQ1abvvLbGjAVQEDIlzIyF2Cq/tiOdH6v+aPF7EeYou8e 4VQ4ED8GiA/6m5Xik3lchPGI/QeZQ0p3U/4nhowKa+ZDPY1iMcsI6PEbc/EmVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682540342; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nNh8tEBj8TRFCg++N0RE+I5I0KH7O2+F031LNNk8V1g=; b=P3/Pd2byzGceZWShbxwSCpkZhQx5UNpwT2iBC/ORqcCW2iCu1QLxq+C4y1PA3SVSWjqbPO BXjHhGPDD+Z+1u7xqfAg2cGUZN+FHFCMjgEOP0PrQ7f0MGfj5REPpuYAExpbyu25mOJo0P p/mM96uGJRNXcFxiW8c5rhAND63WPiphtOOp8bL/54IKg5PSQHl0K7ur9gwCESLz/zh4Ge tsRNK5gHKes7SFVmiWCUM96LAN0aGkAQQH/GLlOllTRsDw7hsMMmKgyko8nYJ+hYT2fz7l ffOj8jt4EVhdpg/vpw8FbZCaw6R+/cjiswe6qrP+uMRy8Cs5n9VKIDuHf6wBPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682540342; a=rsa-sha256; cv=none; b=g+WcXzyLwlsybRFJi4VpkqhK/K9yJkxfDpzPFbQfyoKFenL5UIzIo0B+Ok2GucBCmJQ/f5 afnBBX9nPNeA0mIBP51qnG3SUKZyi1VA/sGRk940anYhHJqEETu5VbbuewhMjwC7Cr6C60 xBdY4WzQjLNrlwFMCz0BmVMCFZIz0J6Ll1bTZp/jdnh2tJVr+mBHGsfC/JJYjCb9vQrN+a SK2t3iXq5EZh9+eO/qJZlqrXKAbiMg5yN6nPNE7LFIi1nQc6ae/lvIO6Vr23AS14siSYFg syt9eX9fX9k1MhWNkezqxGgfBdYTS4kp9RhLIXKloeEP5jTwearN9a0kiDkK9w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q69F25BBqzpD7; Wed, 26 Apr 2023 20:19:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33QKJ2U0081037; Wed, 26 Apr 2023 20:19:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33QKJ2hF081036; Wed, 26 Apr 2023 20:19:02 GMT (envelope-from git) Date: Wed, 26 Apr 2023 20:19:02 GMT Message-Id: <202304262019.33QKJ2hF081036@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 2d7842d0bfb4 - main - arp/ndp: Use valid prototypes for function declarations with no arguments. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2d7842d0bfb4257c5b1aba5c1e6f79e47735d71c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=2d7842d0bfb4257c5b1aba5c1e6f79e47735d71c commit 2d7842d0bfb4257c5b1aba5c1e6f79e47735d71c Author: John Baldwin AuthorDate: 2023-04-26 20:18:53 +0000 Commit: John Baldwin CommitDate: 2023-04-26 20:18:53 +0000 arp/ndp: Use valid prototypes for function declarations with no arguments. --- usr.sbin/arp/arp_netlink.c | 2 +- usr.sbin/ndp/ndp_netlink.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/arp/arp_netlink.c b/usr.sbin/arp/arp_netlink.c index 30df255b591b..be52ca7fa92a 100644 --- a/usr.sbin/arp/arp_netlink.c +++ b/usr.sbin/arp/arp_netlink.c @@ -91,7 +91,7 @@ has_l2(struct snl_state *ss, uint32_t ifindex) } static uint32_t -get_myfib() +get_myfib(void) { uint32_t fibnum = 0; size_t len = sizeof(fibnum); diff --git a/usr.sbin/ndp/ndp_netlink.c b/usr.sbin/ndp/ndp_netlink.c index 163806a06047..e15dc900f0c7 100644 --- a/usr.sbin/ndp/ndp_netlink.c +++ b/usr.sbin/ndp/ndp_netlink.c @@ -105,7 +105,7 @@ has_l2(struct snl_state *ss, uint32_t ifindex) } static uint32_t -get_myfib() +get_myfib(void) { uint32_t fibnum = 0; size_t len = sizeof(fibnum);