Skip to content

Commit

Permalink
fs/binfmt_flat.c: make old_reloc() static
Browse files Browse the repository at this point in the history
old_reloc() is only used in this file, make it static.

Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
AxelLin authored and torvalds committed Jun 4, 2014
1 parent b219e25 commit 3430343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/binfmt_flat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
char *segment[] = { "TEXT", "DATA", "BSS", "*UNKNOWN*" };
Expand Down

0 comments on commit 3430343

Please sign in to comment.