aboutsummaryrefslogtreecommitdiffstats
path: root/meta-application-manager/recipes-others/tizen-platform-wrapper/files/0002_compiler_changes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-application-manager/recipes-others/tizen-platform-wrapper/files/0002_compiler_changes.patch')
-rw-r--r--meta-application-manager/recipes-others/tizen-platform-wrapper/files/0002_compiler_changes.patch66
1 files changed, 66 insertions, 0 deletions
diff --git a/meta-application-manager/recipes-others/tizen-platform-wrapper/files/0002_compiler_changes.patch b/meta-application-manager/recipes-others/tizen-platform-wrapper/files/0002_compiler_changes.patch
new file mode 100644
index 0000000..10a92bf
--- /dev/null
+++ b/meta-application-manager/recipes-others/tizen-platform-wrapper/files/0002_compiler_changes.patch
@@ -0,0 +1,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