summaryrefslogtreecommitdiff
path: root/mkfs.ubifs/mkfs.ubifs.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-10-22 15:04:52 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-10-22 15:32:15 +0300
commit38b8f4dc72e3aff117f66042a5d4ce0d71ef8b9c (patch)
tree81718f5ea33cffb0a8dd81f1152c8af7a703d1b4 /mkfs.ubifs/mkfs.ubifs.c
parent06ff08f391e0297c4fcde63b801e6992d2238ae2 (diff)
Make "c" global
We need to have access to "c" from various files. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'mkfs.ubifs/mkfs.ubifs.c')
-rw-r--r--mkfs.ubifs/mkfs.ubifs.c3
1 files changed, 2 insertions, 1 deletions
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;