From: | "Christoph Mende (angelos)" <angelos@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in xfce-extra/exo/files: exo-0.3.4-inline-functions.patch |
Date: | Mon, 01 Dec 2008 19:36:10 |
Message-Id: | E1L7EYy-0004XT-B2@stork.gentoo.org |
1 | angelos 08/12/01 19:36:08 |
2 | |
3 | Added: exo-0.3.4-inline-functions.patch |
4 | Log: |
5 | Don't declare exo_atomic_{inc,dec} when the functions are not available |
6 | (Portage version: 2.2_rc16/cvs/Linux 2.6.28-rc6-00184-gd9d060a x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 xfce-extra/exo/files/exo-0.3.4-inline-functions.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/xfce-extra/exo/files/exo-0.3.4-inline-functions.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/xfce-extra/exo/files/exo-0.3.4-inline-functions.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: exo-0.3.4-inline-functions.patch |
15 | =================================================================== |
16 | Index: exo/exo-utils.h |
17 | =================================================================== |
18 | --- exo/exo-utils.h (revision 28047) |
19 | +++ exo/exo-utils.h (revision 28048) |
20 | @@ -35,12 +35,13 @@ |
21 | gpointer exo_noop_null (void) G_GNUC_PURE; |
22 | gboolean exo_noop_true (void) G_GNUC_PURE; |
23 | gboolean exo_noop_false (void) G_GNUC_PURE; |
24 | -G_INLINE_FUNC void exo_atomic_inc (gint *value); |
25 | -G_INLINE_FUNC gboolean exo_atomic_dec (gint *value); |
26 | |
27 | /* inline function implementations */ |
28 | #if (defined(G_CAN_INLINE) && defined(__GNUC__) && defined(__i386__) && defined(__OPTIMIZE__)) || defined(__EXO_UTILS_C__) |
29 | |
30 | +G_INLINE_FUNC void exo_atomic_inc (gint *value); |
31 | +G_INLINE_FUNC gboolean exo_atomic_dec (gint *value); |
32 | + |
33 | G_INLINE_FUNC void |
34 | exo_atomic_inc (gint *value) |
35 | { |