2010-01-14 21:10:53

by Hartley Sweeten

[permalink] [raw]
Subject: [PATCH] posix-timers.c: don't export local functions

Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Thomas Gleixner <[email protected]>

---

diff --git a/kernel/posix-timers.c b/kernel/posix-timers.c
index 4954407..00d1fda 100644
--- a/kernel/posix-timers.c
+++ b/kernel/posix-timers.c
@@ -256,7 +256,7 @@ static int posix_get_monotonic_coarse(clockid_t which_clock,
return 0;
}

-int posix_get_coarse_res(const clockid_t which_clock, struct timespec *tp)
+static int posix_get_coarse_res(const clockid_t which_clock, struct timespec *tp)
{
*tp = ktime_to_timespec(KTIME_LOW_RES);
return 0;