diff options
| author | ngkaho1234 <ngkaho1234@gmail.com> | 2015-12-26 21:14:23 +0800 |
|---|---|---|
| committer | gkostka <kostka.grzegorz@gmail.com> | 2015-12-29 10:41:40 +0100 |
| commit | f3e06a2a6d91b4502fb0e0f70a79fb6daaf601e1 (patch) | |
| tree | e59bcbf80d5ca47e48ddecb045364e6a90536eef | |
| parent | c8d7262124bc774995cad8c5da99a2590e9e63a4 (diff) | |
ext4: add static keyword to ext4_trans_start/stop/abort.
| -rw-r--r-- | lwext4/ext4.c | 6 |
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; |
