From: Andrew Morton Date: Tue, 26 Jul 2011 10:14:36 +0000 (+1000) Subject: kernel/time.c:578: error: conflicting types for 'jiffies_to_clock_t' X-Git-Tag: next-20110802~1^2~70 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=28d3cbe429034b4e080a63b5b86f7aaeff92a132;p=karo-tx-linux.git kernel/time.c:578: error: conflicting types for 'jiffies_to_clock_t' include/linux/jiffies.h:306: note: previous declaration of 'jiffies_to_clock_t' was here Cc: John Stultz Cc: Thomas Gleixner Cc: hank Signed-off-by: Andrew Morton --- diff --git a/include/linux/jiffies.h b/include/linux/jiffies.h index f97672a36fa8..265e2c3cbd1c 100644 --- a/include/linux/jiffies.h +++ b/include/linux/jiffies.h @@ -303,7 +303,7 @@ extern void jiffies_to_timespec(const unsigned long jiffies, extern unsigned long timeval_to_jiffies(const struct timeval *value); extern void jiffies_to_timeval(const unsigned long jiffies, struct timeval *value); -extern clock_t jiffies_to_clock_t(long x); +extern clock_t jiffies_to_clock_t(unsigned long x); extern unsigned long clock_t_to_jiffies(unsigned long x); extern u64 jiffies_64_to_clock_t(u64 x); extern u64 nsec_to_clock_t(u64 x);