From nobody Sat Feb 11 09:35:54 2023 X-Original-To: freebsd-current@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 4PDQTG5LQ5z3pkt8; Sat, 11 Feb 2023 09:36:02 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (heemeyer.club [195.93.173.158]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4PDQTG1r48z4HC3; Sat, 11 Feb 2023 09:36:01 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Authentication-Results: mx1.freebsd.org; none Received: from heemeyer.club (localhost [127.0.0.1]) by heemeyer.club (8.17.1/8.16.1) with ESMTP id 31B9ZssS029991; Sat, 11 Feb 2023 12:35:54 +0300 (MSK) (envelope-from dchagin@heemeyer.club) Received: (from dchagin@localhost) by heemeyer.club (8.17.1/8.16.1/Submit) id 31B9Zssh029990; Sat, 11 Feb 2023 12:35:54 +0300 (MSK) (envelope-from dchagin) Date: Sat, 11 Feb 2023 12:35:54 +0300 From: Dmitry Chagin To: FreeBSD User Cc: "freebsd-embedded@freebsd.org" , FreeBSD CURRENT Subject: Re: STABLE/13: src/sys/dev/an/if_an_pci.c:143:1: error: a function definition without a prototype Message-ID: References: <20230211101919.05c63e2c@thor.intern.walstatt.dynvpn.de> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230211101919.05c63e2c@thor.intern.walstatt.dynvpn.de> X-Rspamd-Queue-Id: 4PDQTG1r48z4HC3 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:61400, ipnet:195.93.173.0/24, country:RU] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Sat, Feb 11, 2023 at 10:18:52AM +0100, FreeBSD User wrote: > Hello, > > compiling most recent FreeBSD 13-STABLE (as of today) with a custom kernel with disabled 'an' > driver in the wireless section (nodevice an), compiling kernel now fails with the error: > > src/sys/dev/an/if_an_pci.c:143:1: error: a function definition without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Werror,-Wdeprecated-non-prototype] > > How can this be fixed? > git cherry-pick -x 663b174b5b5 > Kind regards, > > oh > -- > O. Hartmann