Date: Fri, 8 Oct 2021 06:11:17 GMT From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: b180a5b75cb9 - stable/12 - zfsboot: add prototype for main() Message-ID: <202110080611.1986BHSg007871@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=b180a5b75cb95c6316f668b811bfffc071e2325f commit b180a5b75cb95c6316f668b811bfffc071e2325f Author: Toomas Soome <tsoome@FreeBSD.org> AuthorDate: 2020-11-15 14:04:27 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2021-10-08 05:24:28 +0000 zfsboot: add prototype for main() Some compilers are complaining about missing prototype. PR: 251150 (cherry picked from commit fc7cf7241f89a3d3ccc20cb49c5bf61e154b7a1b) --- stand/i386/zfsboot/zfsboot.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stand/i386/zfsboot/zfsboot.c b/stand/i386/zfsboot/zfsboot.c index 81a6d74abc7b..cca36b9cefb4 100644 --- a/stand/i386/zfsboot/zfsboot.c +++ b/stand/i386/zfsboot/zfsboot.c @@ -158,6 +158,8 @@ ptov(uintptr_t x) return (PTOV(x)); } +int main(void); + int main(void) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110080611.1986BHSg007871>