Date: Fri, 23 Jul 2021 23:07:58 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 58109a87d42b - main - Use an ANSI C function declaration for journal_check_space. Message-ID: <202107232307.16NN7w9l084340@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=58109a87d42b490eba76879f9007a4dbdaf7bb80 commit 58109a87d42b490eba76879f9007a4dbdaf7bb80 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2021-07-23 22:06:26 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2021-07-23 22:59:11 +0000 Use an ANSI C function declaration for journal_check_space. GCC6 fails to compile this due to a -Wstrict-prototypes error. Sponsored by: Chelsio Communications --- sys/ufs/ffs/ffs_softdep.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index 2f9819ff7023..75120175e4a1 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -3223,8 +3223,7 @@ journal_unsuspend(struct ufsmount *ump) } static void -journal_check_space(ump) - struct ufsmount *ump; +journal_check_space(struct ufsmount *ump) { struct mount *mp;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107232307.16NN7w9l084340>