Date: Sat, 11 Feb 2023 12:35:54 +0300 From: Dmitry Chagin <dchagin@heemeyer.club> To: FreeBSD User <freebsd@walstatt-de.de> Cc: "freebsd-embedded@freebsd.org" <embedded@freebsd.org>, FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: STABLE/13: src/sys/dev/an/if_an_pci.c:143:1: error: a function definition without a prototype Message-ID: <Y%2BdhegNXljePQDJX@heemeyer.club> In-Reply-To: <20230211101919.05c63e2c@thor.intern.walstatt.dynvpn.de> References: <20230211101919.05c63e2c@thor.intern.walstatt.dynvpn.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Y%2BdhegNXljePQDJX>