Remove inline keyword.
authorSung-jae Park <nicesj.park@samsung.com>
Mon, 7 Jul 2014 15:11:40 +0000 (00:11 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Mon, 7 Jul 2014 15:11:40 +0000 (00:11 +0900)
GCC 4.7(4.8) complains regarding inline failed cases.
Remove inline keyword from function definitions.

Change-Id: I69dd2842f02d0a56a85562f3aa5bae41ff4b0bf9

packaging/liblivebox-viewer.spec
src/fb.c

index 78e9ad4..2716523 100644 (file)
@@ -2,7 +2,7 @@
 
 Name: liblivebox-viewer
 Summary: Library for developing the application
-Version: 0.31.2
+Version: 0.31.3
 Release: 1
 Group: HomeTF/Livebox
 License: Flora
index 0e90ad1..3164151 100644 (file)
--- 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;