Fixed missing definition for ppc code. Fix by Mark McLoughlin
authorSebastian Wilhelmi <seppi@seppi.de>
Tue, 2 Mar 2004 09:47:37 +0000 (09:47 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Tue, 2 Mar 2004 09:47:37 +0000 (09:47 +0000)
2004-03-02  Sebastian Wilhelmi  <seppi@seppi.de>

* glib/gatomic.c: Fixed missing definition for ppc code. Fix by
Mark McLoughlin <mark@skynet.ie>.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gatomic.c

index 23e623d..4c78e05 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-02  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gatomic.c: Fixed missing definition for ppc code. Fix by
+       Mark McLoughlin <mark@skynet.ie>.
+
 Mon Mar  1 16:49:51 2004  Owen Taylor  <otaylor@redhat.com>
 
        * === Released 2.3.5 ===
index 23e623d..4c78e05 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-02  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gatomic.c: Fixed missing definition for ppc code. Fix by
+       Mark McLoughlin <mark@skynet.ie>.
+
 Mon Mar  1 16:49:51 2004  Owen Taylor  <otaylor@redhat.com>
 
        * === Released 2.3.5 ===
index 23e623d..4c78e05 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-02  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gatomic.c: Fixed missing definition for ppc code. Fix by
+       Mark McLoughlin <mark@skynet.ie>.
+
 Mon Mar  1 16:49:51 2004  Owen Taylor  <otaylor@redhat.com>
 
        * === Released 2.3.5 ===
index 23e623d..4c78e05 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-02  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gatomic.c: Fixed missing definition for ppc code. Fix by
+       Mark McLoughlin <mark@skynet.ie>.
+
 Mon Mar  1 16:49:51 2004  Owen Taylor  <otaylor@redhat.com>
 
        * === Released 2.3.5 ===
index 23e623d..4c78e05 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-02  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gatomic.c: Fixed missing definition for ppc code. Fix by
+       Mark McLoughlin <mark@skynet.ie>.
+
 Mon Mar  1 16:49:51 2004  Owen Taylor  <otaylor@redhat.com>
 
        * === Released 2.3.5 ===
index 23e623d..4c78e05 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-02  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gatomic.c: Fixed missing definition for ppc code. Fix by
+       Mark McLoughlin <mark@skynet.ie>.
+
 Mon Mar  1 16:49:51 2004  Owen Taylor  <otaylor@redhat.com>
 
        * === Released 2.3.5 ===
index e950836..9796cd5 100644 (file)
@@ -340,6 +340,7 @@ g_atomic_int_compare_and_exchange (gint *atomic,
                                   gint oldval, 
                                   gint newval)
 {
+  gpointer result;
   __asm __volatile ("sync\n"
                     "1: lwarx   %0,0,%1\n"
                     "   extsw   %0,%0\n"