[PATCH] JFS: K&R to ANSI conversions for fs/jfs/jfs_dmap.c and jfs_xtree.c (3 of 4)

Dave Kleikamp <[email protected]> Mon, 25 Aug 2003 14:42:17 -0500
Newsgroups gmane.comp.file-systems.jfs.patches
Message-ID <[email protected]>
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1097.1.2 -> 1.1097.1.3
#	   fs/jfs/jfs_dmap.c	1.8     -> 1.9    
#	  fs/jfs/jfs_xtree.c	1.7     -> 1.8    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/08/25	[email protected]	1.1097.1.3
# JFS: K&R to ANSI conversions for fs/jfs/jfs_dmap.c and jfs_xtree.c
# 
# Originally submitted by [email protected] (in the 2.6 tree).
# --------------------------------------------
#
diff -Nru a/fs/jfs/jfs_dmap.c b/fs/jfs/jfs_dmap.c
--- a/fs/jfs/jfs_dmap.c	Mon Aug 25 14:10:26 2003
+++ b/fs/jfs/jfs_dmap.c	Mon Aug 25 14:10:26 2003
@@ -3066,7 +3066,7 @@
  * RETURN VALUES:
  *      none
  */
-void fsDirty()
+void fsDirty(void)
 {
 	printk("fsDirty(): bye-bye\n");
 	assert(0);
diff -Nru a/fs/jfs/jfs_xtree.c b/fs/jfs/jfs_xtree.c
--- a/fs/jfs/jfs_xtree.c	Mon Aug 25 14:10:26 2003
+++ b/fs/jfs/jfs_xtree.c	Mon Aug 25 14:10:26 2003
@@ -4225,8 +4225,7 @@
  *      at the current entry at the current subtree root page
  *
  */
-int xtGather(t)
-btree_t *t;
+int xtGather(btree_t *t)
 {
 	int rc = 0;
 	xtpage_t *p;