From 732f7ad7b10b5d07b1a802976fc4d6446c3c198c Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Fri, 21 Dec 2012 12:25:30 +0900 Subject: [PATCH] Revise the code to apply the gcc 4.6 Change-Id: I40b001f134dee782569fd7d996343d4268e21fa8 --- packaging/com.samsung.data-provider-slave.spec | 2 +- src/lb.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/com.samsung.data-provider-slave.spec b/packaging/com.samsung.data-provider-slave.spec index 93a89fd..fe9c430 100644 --- a/packaging/com.samsung.data-provider-slave.spec +++ b/packaging/com.samsung.data-provider-slave.spec @@ -1,6 +1,6 @@ Name: com.samsung.data-provider-slave Summary: Slave data provider -Version: 0.8.14 +Version: 0.8.15 Release: 1 Group: main/app License: Flora License diff --git a/src/lb.c b/src/lb.c index 64434b1..565591f 100644 --- a/src/lb.c +++ b/src/lb.c @@ -175,7 +175,7 @@ cleanout: return ECORE_CALLBACK_CANCEL; } -static inline int activate_pending_consumer(void) +static inline __attribute__((always_inline)) int activate_pending_consumer(void) { if (s_info.pending_timer) return 0; @@ -219,7 +219,7 @@ static inline void deactivate_pd_open_pending_consumer(void) DbgPrint("Clear the open_pd_pending timer\n"); } -static inline int activate_pd_open_pending_consumer(void) +static inline int __attribute__((always_inline)) activate_pd_open_pending_consumer(void) { if (s_info.pd_open_pending_timer) return 0; -- 2.7.4