git: 7f347528201c - stable/13 - Use an ANSI C function declaration for journal_check_space.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 10 May 2022 23:23:54 UTC
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;