aboutsummaryrefslogtreecommitdiffstats
path: root/meta-application-manager/recipes-others/tizen-platform-wrapper/files/0002_compiler_changes.patch
blob: 10a92bf8a4731fde3c7ab641df2fa098b32ea85f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
--- a/src/init.c	2016-01-21 13:05:31.824488419 +0100
+++ b/src/init.c	2016-01-20 16:51:37.607210000 +0100
@@ -373,7 +373,7 @@
 }
 
 /* initialize the environment */
-inline void initialize(struct tzplatform_context *context)
+void initialize(struct tzplatform_context *context)
 {
     struct buffer buffer;
     struct parsing parsing;
--- a/src/init.h	2016-01-21 13:05:31.828488419 +0100
+++ b/src/init.h	2016-01-20 16:51:33.035210000 +0100
@@ -24,7 +24,7 @@
 #ifndef INIT_H
 #define INIT_H
 
-inline void initialize(struct tzplatform_context *context);
+void initialize(struct tzplatform_context *context);
 
 #endif
 
--- a/src/context.c	2016-01-21 13:05:31.820488419 +0100
+++ b/src/context.c	2016-01-20 16:50:03.351213000 +0100
@@ -42,7 +42,7 @@
 #include "context.h"
 
 
-inline uid_t get_uid(struct tzplatform_context *context)
+uid_t get_uid(struct tzplatform_context *context)
 {
     uid_t result;
 
--- a/src/context.h	2016-01-21 13:05:31.820488419 +0100
+++ b/src/context.h	2016-01-20 16:50:10.435213000 +0100
@@ -46,7 +46,7 @@
     const char *values[_TZPLATFORM_VARIABLES_COUNT_];
 };
 
-inline uid_t get_uid(struct tzplatform_context *context);
+uid_t get_uid(struct tzplatform_context *context);
 
 #if _FOREIGN_HAS_(EUID)
 inline uid_t get_euid(struct tzplatform_context *context);
--- a/src/hashing.c	2016-01-21 13:05:31.824488419 +0100
+++ b/src/hashing.c	2016-01-20 16:49:52.771214000 +0100
@@ -35,7 +35,7 @@
 
 static const char *var_names[_TZPLATFORM_VARIABLES_COUNT_];
 
-inline int hashid(const char *text, unsigned int len)
+int hashid(const char *text, unsigned int len)
 {
     const struct varassoc *vara = hashvar(text, len);
     return vara ? vara->id : -1;
--- a/src/hashing.h	2016-01-21 13:05:31.824488419 +0100
+++ b/src/hashing.h	2016-01-20 16:49:49.439214000 +0100
@@ -24,7 +24,7 @@
 #ifndef HASHING_H
 #define HASHING_H
 
-inline int hashid(const char *text, unsigned int len);
+int hashid(const char *text, unsigned int len);
 const char *keyname(int id);
 
 #endif