From 178dd74859e4f41beb74aede8b6c042a8dd26580 Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Tue, 8 Jul 2014 00:13:43 +0900 Subject: [PATCH] Remove inline keyword from function definition. GCC 4.7(4.8) complains regarding inlining failed functions. Remove "inline" keyword. Change-Id: Iab6b6bf513f2707f4d4c9a74bbbadb97a56c5eff --- packaging/liblivebox-viewer.spec | 2 +- src/fb.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/liblivebox-viewer.spec b/packaging/liblivebox-viewer.spec index 0b0c37b..78e9ad4 100644 --- a/packaging/liblivebox-viewer.spec +++ b/packaging/liblivebox-viewer.spec @@ -2,7 +2,7 @@ Name: liblivebox-viewer Summary: Library for developing the application -Version: 0.31.1 +Version: 0.31.2 Release: 1 Group: HomeTF/Livebox License: Flora diff --git a/src/fb.c b/src/fb.c index 0e90ad1..3164151 100644 --- a/src/fb.c +++ b/src/fb.c @@ -107,7 +107,7 @@ static inline void update_fb_size(struct fb_info *info) info->bufsz = info->w * info->h * info->pixels; } -static inline int sync_for_file(struct fb_info *info) +static int sync_for_file(struct fb_info *info) { int fd; struct buffer *buffer; @@ -165,7 +165,7 @@ static inline int sync_for_file(struct fb_info *info) return LB_STATUS_SUCCESS; } -static inline __attribute__((always_inline)) int sync_for_pixmap(struct fb_info *info) +static int sync_for_pixmap(struct fb_info *info) { struct buffer *buffer; XShmSegmentInfo si; -- 2.7.4