Supress the GCC 4.8 build complains
authorSung-jae Park <nicesj.park@samsung.com>
Tue, 23 Dec 2014 10:24:39 +0000 (19:24 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Tue, 23 Dec 2014 10:24:39 +0000 (19:24 +0900)
Inlining failed warning should not be occurred.
It seems that the inlining failed issue is related with stack size.
Anyway we should avoid this kind of error, this patch will remove "inline" keyword which is detected by GCC.

[model] Redwood,Kiran,B3(Wearable)
[binary_type] AP
[customer] Docomo/Orange/ATT/Open
[issue#] N/A
[problem]
[cause]
[solution]
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Ibfdefba4440e227dc705e293b1b094589c95167a

pkgmgr_dynamicbox/src/service_register.c

index 745b258..e38795f 100644 (file)
@@ -2180,7 +2180,7 @@ static void update_size_info(struct dynamicbox *dynamicbox, int idx, xmlNodePtr
     }
 }
 
-static inline void update_box(struct dynamicbox *dynamicbox, xmlNodePtr node)
+static void update_box(struct dynamicbox *dynamicbox, xmlNodePtr node)
 {
     if (!xmlHasProp(node, (const xmlChar *)"type")) {
        dynamicbox->dbox_type = DBOX_TYPE_FILE;