Date: Tue, 10 May 2022 23:23:54 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 7f347528201c - stable/13 - Use an ANSI C function declaration for journal_check_space. Message-ID: <202205102323.24ANNsUk072112@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=7f347528201cade3142c86ee787ecceace636793 commit 7f347528201cade3142c86ee787ecceace636793 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2021-07-23 22:06:26 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-10 21:00:23 +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 (cherry picked from commit 58109a87d42b490eba76879f9007a4dbdaf7bb80) --- 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 4c544e3cce89..909a2228b2fc 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -3219,8 +3219,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?202205102323.24ANNsUk072112>