summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorngkaho1234 <ngkaho1234@gmail.com>2015-12-26 21:14:23 +0800
committergkostka <kostka.grzegorz@gmail.com>2015-12-29 10:41:40 +0100
commitf3e06a2a6d91b4502fb0e0f70a79fb6daaf601e1 (patch)
treee59bcbf80d5ca47e48ddecb045364e6a90536eef
parentc8d7262124bc774995cad8c5da99a2590e9e63a4 (diff)
ext4: add static keyword to ext4_trans_start/stop/abort.
-rw-r--r--lwext4/ext4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lwext4/ext4.c b/lwext4/ext4.c
index 203d7d4..2857fc6 100644
--- a/lwext4/ext4.c
+++ b/lwext4/ext4.c
@@ -555,7 +555,7 @@ Finish:
return r;
}
-int ext4_trans_start(struct ext4_mountpoint *mp)
+static int ext4_trans_start(struct ext4_mountpoint *mp)
{
int r = EOK;
if (mp->fs.jbd_journal && !mp->fs.curr_trans) {
@@ -572,7 +572,7 @@ Finish:
return r;
}
-int ext4_trans_stop(struct ext4_mountpoint *mp)
+static int ext4_trans_stop(struct ext4_mountpoint *mp)
{
int r = EOK;
if (mp->fs.jbd_journal && mp->fs.curr_trans) {
@@ -584,7 +584,7 @@ int ext4_trans_stop(struct ext4_mountpoint *mp)
return r;
}
-void ext4_trans_abort(struct ext4_mountpoint *mp)
+static void ext4_trans_abort(struct ext4_mountpoint *mp)
{
if (mp->fs.jbd_journal && mp->fs.curr_trans) {
struct jbd_journal *journal = mp->fs.jbd_journal;