diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-01-12 11:47:37 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-01-12 12:11:04 +0000 |
commit | 5dfd5ed5e7d23d4ee8572669af2673c3a1315763 (patch) | |
tree | feb157bb65340d56f71e1db3b19ad54d1b66d3e5 /src/gallium/drivers/cell/spu/spu_funcs.c | |
parent | 86bfe974b880dc2cbf40b91ba0fde34e8a9c756e (diff) |
gallium: Simplify PIPE_ALIGN_VAR.
gcc allows pre-fix variable attributes.
Suggested by Ian Romanick.
Diffstat (limited to 'src/gallium/drivers/cell/spu/spu_funcs.c')
-rw-r--r-- | src/gallium/drivers/cell/spu/spu_funcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_funcs.c b/src/gallium/drivers/cell/spu/spu_funcs.c index a4e560b0a5..98919c43ff 100644 --- a/src/gallium/drivers/cell/spu/spu_funcs.c +++ b/src/gallium/drivers/cell/spu/spu_funcs.c @@ -144,7 +144,7 @@ export_func(struct cell_spu_function_info *spu_functions, void return_function_info(void) { - PIPE_ALIGN_VAR(16, struct cell_spu_function_info funcs); + PIPE_ALIGN_VAR(16) struct cell_spu_function_info funcs; int tag = TAG_MISC; ASSERT(sizeof(funcs) == 256); /* must be multiple of 16 bytes */ |