radeonsi: don't use the emit qt keyword in si_init_atom
authorMarek Olšák <marek.olsak@amd.com>
Tue, 25 Aug 2015 17:21:38 +0000 (19:21 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 29 Aug 2015 21:18:23 +0000 (23:18 +0200)
It confuses my editor.

src/gallium/drivers/radeonsi/si_state.c

index c923ea7e1541d7e90b8afd3bde1270f2383ab673..806ab5f0e22694f0ef5b0dfd26728890edd66b6a 100644 (file)
 #include "util/u_pstipple.h"
 
 static void si_init_atom(struct r600_atom *atom, struct r600_atom **list_elem,
-                        void (*emit)(struct si_context *ctx, struct r600_atom *state),
+                        void (*emit_func)(struct si_context *ctx, struct r600_atom *state),
                         unsigned num_dw)
 {
-       atom->emit = (void*)emit;
+       atom->emit = (void*)emit_func;
        atom->num_dw = num_dw;
        atom->dirty = false;
        *list_elem = atom;