diff mbox

[2/3] rtc.h: add extern keyword for external function declarations

Message ID 201102241627.05009.roman.fietze@telemotive.de
State Rejected
Headers show

Commit Message

Roman Fietze Feb. 24, 2011, 3:27 p.m. UTC
Hello John,

And number two.

From aa12aab82c4a605ff48d7bb70c4e4071454c0106 Mon Sep 17 00:00:00 2001
From: Roman Fietze <roman.fietze@telemotive.de>
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 <roman.fietze@telemotive.de>
---
 include/linux/rtc.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

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 <linux/device.h>