提交 0d4579ed 编写于 作者: J Jeff Dike 提交者: Linus Torvalds

[PATCH] uml: fix misdeclared function

This fixes an interface which differed from its declaration, and includes
the relevant header so that this doesn't happen again.
Signed-off-by: NJeff Dike <jdike@addtoit.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 20a64f1d
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#include "user.h" #include "user.h"
#include "kern_util.h" #include "kern_util.h"
#include "user_util.h" #include "user_util.h"
#include "helper.h"
#include "os.h" #include "os.h"
struct helper_data { struct helper_data {
...@@ -149,7 +150,7 @@ int run_helper_thread(int (*proc)(void *), void *arg, unsigned int flags, ...@@ -149,7 +150,7 @@ int run_helper_thread(int (*proc)(void *), void *arg, unsigned int flags,
return(pid); return(pid);
} }
int helper_wait(int pid, int block) int helper_wait(int pid)
{ {
int ret; int ret;
...@@ -160,14 +161,3 @@ int helper_wait(int pid, int block) ...@@ -160,14 +161,3 @@ int helper_wait(int pid, int block)
} }
return(ret); return(ret);
} }
/*
* Overrides for Emacs so that we follow Linus's tabbing style.
* Emacs will notice this stuff at the end of the file and automatically
* adjust the settings for this buffer only. This must remain at the end
* of the file.
* ---------------------------------------------------------------------------
* Local variables:
* c-file-style: "linux"
* End:
*/
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册