From 38b8f4dc72e3aff117f66042a5d4ce0d71ef8b9c Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Wed, 22 Oct 2008 15:04:52 +0300 Subject: Make "c" global We need to have access to "c" from various files. Signed-off-by: Artem Bityutskiy --- mkfs.ubifs/mkfs.ubifs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mkfs.ubifs/mkfs.ubifs.c') diff --git a/mkfs.ubifs/mkfs.ubifs.c b/mkfs.ubifs/mkfs.ubifs.c index 18ede49..46f8058 100644 --- a/mkfs.ubifs/mkfs.ubifs.c +++ b/mkfs.ubifs/mkfs.ubifs.c @@ -93,7 +93,8 @@ struct inum_mapping { * Because we copy functions from the kernel, we use a subset of the UBIFS * file-system description object struct ubifs_info. */ -static struct ubifs_info info_, *c = &info_; +static struct ubifs_info info_; +struct ubifs_info *c = &info_; /* Debug levels are: 0 (none), 1 (statistics), 2 (files) ,3 (more details) */ int debug_level; -- cgit v1.2.3