summaryrefslogtreecommitdiff
path: root/include/linux/binfmts.h
diff options
context:
space:
mode:
authorYuanhan Liu <yuanhan.liu@linux.intel.com>2013-02-20 13:16:01 +1100
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-26 02:46:13 -0500
commit9cc64ceaa8b8e8c874519caee79e18cb35d3ce3e (patch)
treedcd8bfe08da03fa4d5620cd637989caa305c9d04 /include/linux/binfmts.h
parentb24ae0b54be4e46bb88398f29c5f79c5dad2a602 (diff)
downloadlwn-9cc64ceaa8b8e8c874519caee79e18cb35d3ce3e.tar.gz
lwn-9cc64ceaa8b8e8c874519caee79e18cb35d3ce3e.zip
fs/exec.c: make bprm_mm_init() static
There is only one user of bprm_mm_init, and it's inside the same file. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/binfmts.h')
-rw-r--r--include/linux/binfmts.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/binfmts.h b/include/linux/binfmts.h
index 0530b9860359..c3a09149f793 100644
--- a/include/linux/binfmts.h
+++ b/include/linux/binfmts.h
@@ -111,7 +111,6 @@ extern int suid_dumpable;
extern int setup_arg_pages(struct linux_binprm * bprm,
unsigned long stack_top,
int executable_stack);
-extern int bprm_mm_init(struct linux_binprm *bprm);
extern int bprm_change_interp(char *interp, struct linux_binprm *bprm);
extern int copy_strings_kernel(int argc, const char *const *argv,
struct linux_binprm *bprm);