<div dir="ltr">I've already done this in my branch<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 7, 2018 at 9:13 AM, Rob Clark <span dir="ltr"><<a href="mailto:robdclark@gmail.com" target="_blank">robdclark@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For better or worse, the rest of nir follows the typedef struct pattern.<br>
So I guess better to be consistent.<br>
<br>
Signed-off-by: Rob Clark <<a href="mailto:robdclark@gmail.com">robdclark@gmail.com</a>><br>
---<br>
src/compiler/nir/nir_deref.h | 4 ++--<br>
1 file changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/compiler/nir/nir_deref.h b/src/compiler/nir/nir_deref.h<br>
index 7597b777490..b7a9d4b0e63 100644<br>
--- a/src/compiler/nir/nir_deref.h<br>
+++ b/src/compiler/nir/nir_deref.h<br>
@@ -31,7 +31,7 @@<br>
extern "C" {<br>
#endif<br>
<br>
-struct nir_deref_path {<br>
+typedef struct nir_deref_path {<br>
/** Short path so we can keep it on the stack most of the time. */<br>
nir_deref_instr *_short_path[7];<br>
<br>
@@ -42,7 +42,7 @@ struct nir_deref_path {<br>
* element in the array is a NULL pointer which acts as a terminator.<br>
*/<br>
nir_deref_instr **path;<br>
-};<br>
+} nir_deref_path;<br>
<br>
void nir_deref_path_init(struct nir_deref_path *path,<br>
nir_deref_instr *deref, void *mem_ctx);<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.14.3<br>
<br>
</font></span></blockquote></div><br></div>