dri/r200: rename __atom to current_atom.
authorStéphane Marchesin <marcheu@chromium.org>
Fri, 24 Jun 2011 03:53:47 +0000 (20:53 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Fri, 24 Jun 2011 03:58:05 +0000 (20:58 -0700)
__atom is defined by gcc when the atom compile optimizations are used.

src/mesa/drivers/dri/r200/r200_cmdbuf.c

index 931a9ecf8fe94da30e76e70d5d57b9e5c4c8fafe..db5cc160f66eb064e36faebca2e264e1c2bd5131 100644 (file)
@@ -47,9 +47,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 #define insert_at_tail_if(atom_list, atom) \
    do { \
-      struct radeon_state_atom* __atom = (atom); \
-      if (__atom->check) \
-        insert_at_tail((atom_list), __atom); \
+      struct radeon_state_atom* current_atom = (atom); \
+      if (current__atom->check) \
+        insert_at_tail((atom_list), current_atom); \
    } while(0)
 
 void r200SetUpAtomList( r200ContextPtr rmesa )