summaryrefslogtreecommitdiff
path: root/fs/binfmt_flat.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-06-05 03:12:15 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-05 03:54:21 +0400
commit343034357202be37be335a08ef4a0f0708b6ba3d (patch)
tree52442fd06d4effca4515a403cecfae279e9d0ce9 /fs/binfmt_flat.c
parentb219e25f8dd9793904ca87c55c76ab8c8931abb9 (diff)
downloadlinux-343034357202be37be335a08ef4a0f0708b6ba3d.tar.xz
fs/binfmt_flat.c: make old_reloc() static
old_reloc() is only used in this file, make it static. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/binfmt_flat.c')
-rw-r--r--fs/binfmt_flat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c
index d50bbe59da1e..f723cd3a455c 100644
--- a/fs/binfmt_flat.c
+++ b/fs/binfmt_flat.c
@@ -380,7 +380,7 @@ failed:
/****************************************************************************/
-void old_reloc(unsigned long rl)
+static void old_reloc(unsigned long rl)
{
#ifdef DEBUG
char *segment[] = { "TEXT", "DATA", "BSS", "*UNKNOWN*" };