Skip to content

Commit

Permalink
[PATCH] uml: fix misdeclared function
Browse files Browse the repository at this point in the history
This fixes an interface which differed from its declaration, and includes
the relevant header so that this doesn't happen again.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Jul 27, 2005
1 parent 20a64f1 commit 0d4579e
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions arch/um/kernel/helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "user.h"
#include "kern_util.h"
#include "user_util.h"
#include "helper.h"
#include "os.h"

struct helper_data {
Expand Down Expand Up @@ -149,7 +150,7 @@ int run_helper_thread(int (*proc)(void *), void *arg, unsigned int flags,
return(pid);
}

int helper_wait(int pid, int block)
int helper_wait(int pid)
{
int ret;

Expand All @@ -160,14 +161,3 @@ int helper_wait(int pid, int block)
}
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:
*/

0 comments on commit 0d4579e

Please sign in to comment.