Staging: android: binder: Make task_get_unused_fd_flags function static
Silence the following warning: drivers/staging/android/binder.c:368:5: warning: symbol 'task_get_unused_fd_flags' was not declared. Should it be static? Cc: Arve Hjønnevåg <arve@android.com> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ae0c514cce
commit
efde99cd28
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ binder_defer_work(struct binder_proc *proc, enum binder_deferred_state defer);
|
||||||
/*
|
/*
|
||||||
* copied from get_unused_fd_flags
|
* copied from get_unused_fd_flags
|
||||||
*/
|
*/
|
||||||
int task_get_unused_fd_flags(struct binder_proc *proc, int flags)
|
static int task_get_unused_fd_flags(struct binder_proc *proc, int flags)
|
||||||
{
|
{
|
||||||
struct files_struct *files = proc->files;
|
struct files_struct *files = proc->files;
|
||||||
int fd, error;
|
int fd, error;
|
||||||
|
|
Loading…
Add table
Reference in a new issue