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
|
Index: libosso-2.13/src/osso-init.c
===================================================================
--- libosso-2.13.orig/src/osso-init.c 2007-09-21 12:53:31.000000000 +0200
+++ libosso-2.13/src/osso-init.c 2009-03-19 23:14:11.000000000 +0100
@@ -657,7 +657,8 @@
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
}
-inline int __attribute__ ((visibility("hidden")))
+/*inline int __attribute__ ((visibility("hidden")))*/
+int
muali_convert_msgtype(int t)
{
switch (t) {
Index: libosso-2.13/src/osso-internal.h
===================================================================
--- libosso-2.13.orig/src/osso-internal.h 2007-09-21 12:53:31.000000000 +0200
+++ libosso-2.13/src/osso-internal.h 2009-03-19 23:13:23.000000000 +0100
@@ -209,7 +209,8 @@
# define dprint(f, a...)
# endif /* LIBOSSO_DEBUG */
-inline int __attribute__ ((visibility("hidden")))
+/*inline int __attribute__ ((visibility("hidden")))*/
+int
muali_convert_msgtype(int t);
muali_arg_t* _get_muali_args(DBusMessageIter *iter);
@@ -293,11 +294,12 @@
void _close_all_plugins(osso_context_t *osso);
-inline void __attribute__ ((visibility("hidden")))
+/*inline void __attribute__ ((visibility("hidden")))*/
_muali_parse_id(const char *id, muali_bus_type *bus, char *sender,
int *serial);
-inline void __attribute__ ((visibility("hidden")))
+/*inline void __attribute__ ((visibility("hidden")))*/
+void
_muali_make_id(muali_bus_type bus, const char *sender, int serial, char *id);
#endif /* OSSO_INTERNAL_H_ */
Index: libosso-2.13/src/osso-rpc.c
===================================================================
--- libosso-2.13.orig/src/osso-rpc.c 2009-03-19 23:09:32.000000000 +0100
+++ libosso-2.13/src/osso-rpc.c 2009-03-19 23:13:03.000000000 +0100
@@ -992,7 +992,7 @@
* muali = maemo user application library
******************************************************/
-inline void __attribute__ ((visibility("hidden")))
+/*inline void __attribute__ ((visibility("hidden")))*/
_muali_parse_id(const char *id, muali_bus_type *bus, char *sender,
int *serial)
{
@@ -1026,7 +1026,8 @@
*serial = atoi(buf);
}
-inline void __attribute__ ((visibility("hidden")))
+/*inline void __attribute__ ((visibility("hidden")))*/
+void
_muali_make_id(muali_bus_type bus, const char *sender, int serial, char *id)
{
snprintf(id, MAX_MSGID_LEN, "%d,%s,%d", bus, sender, serial);
|