From patchwork Thu Feb 24 15:27:04 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/3] rtc.h: add extern keyword for external function declarations Date: Thu, 24 Feb 2011 05:27:04 -0000 From: Roman Fietze X-Patchwork-Id: 84404 Message-Id: <201102241627.05009.roman.fietze@telemotive.de> To: John Stultz Cc: rtc-linux@googlegroups.com Hello John, And number two. >From aa12aab82c4a605ff48d7bb70c4e4071454c0106 Mon Sep 17 00:00:00 2001 From: Roman Fietze Date: Thu, 24 Feb 2011 15:51:51 +0100 Subject: [PATCH 2/3] rtc.h: add extern keyword for external function declarations Add extern to rtc_tm_to_ktime() and rtc_ktime_to_tm(). Signed-off-by: Roman Fietze --- include/linux/rtc.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/rtc.h b/include/linux/rtc.h index 9a28fe1..58c0cde 100644 --- a/include/linux/rtc.h +++ b/include/linux/rtc.h @@ -107,8 +107,8 @@ extern int rtc_year_days(unsigned int day, unsigned int month, unsigned int year extern int rtc_valid_tm(const struct rtc_time *tm); extern int rtc_tm_to_time(const struct rtc_time *tm, unsigned long *time); extern void rtc_time_to_tm(unsigned long time, struct rtc_time *tm); -ktime_t rtc_tm_to_ktime(struct rtc_time tm); -struct rtc_time rtc_ktime_to_tm(ktime_t kt); +extern ktime_t rtc_tm_to_ktime(struct rtc_time tm); +extern struct rtc_time rtc_ktime_to_tm(ktime_t kt); #include