summaryrefslogtreecommitdiff
path: root/source/l/apr/apr.apr_ring.h.gcc45.diff
blob: c298cf4e8103f1bf0b89ab31e8d1c2dbaddeb90d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ./include/apr_ring.h.orig	2008-06-01 19:12:00.000000000 -0500
+++ ./include/apr_ring.h	2011-02-12 13:17:41.000000000 -0600
@@ -90,8 +90,8 @@
  */
 #define APR_RING_HEAD(head, elem)					\
     struct head {							\
-	struct elem *next;						\
-	struct elem *prev;						\
+	struct elem * volatile next;					\
+	struct elem * volatile prev;					\
     }
 
 /**