From: Sachin Kamat Date: Fri, 17 Aug 2012 11:09:36 +0000 (+0530) Subject: Staging: android: binder: Make task_get_unused_fd_flags function static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=efde99cd281a3f0d3562bb2fa7e7ef60ad32fe8d;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: Sachin Kamat Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c index 574e99210c36..668bec7213d5 100644 --- a/drivers/staging/android/binder.c +++ b/drivers/staging/android/binder.c @@ -365,7 +365,7 @@ binder_defer_work(struct binder_proc *proc, enum binder_deferred_state defer); /* * 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; int fd, error;