提交 34303435 编写于 作者: A Axel Lin 提交者: Linus Torvalds

fs/binfmt_flat.c: make old_reloc() static

old_reloc() is only used in this file, make it static.
Signed-off-by: NAxel Lin <axel.lin@ingics.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 b219e25f
...@@ -380,7 +380,7 @@ calc_reloc(unsigned long r, struct lib_info *p, int curid, int internalp) ...@@ -380,7 +380,7 @@ calc_reloc(unsigned long r, struct lib_info *p, int curid, int internalp)
/****************************************************************************/ /****************************************************************************/
void old_reloc(unsigned long rl) static void old_reloc(unsigned long rl)
{ {
#ifdef DEBUG #ifdef DEBUG
char *segment[] = { "TEXT", "DATA", "BSS", "*UNKNOWN*" }; char *segment[] = { "TEXT", "DATA", "BSS", "*UNKNOWN*" };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册