diff options
author | nobled <[email protected]> | 2012-03-04 15:20:31 -0500 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2012-03-06 21:26:21 +0100 |
commit | 4aa1ac5fe94b5696095229ee3568bf4fa7cfed95 (patch) | |
tree | 5d24810bb57b1bc5bc1b8f8767510f041cc912e7 /src/mesa/swrast/s_span.c | |
parent | 1633dcd890d97bd5e4d125d57f2f529f04d14477 (diff) |
dri/nouveau: don't use nested functions
It's a GNU extension that isn't supported by clang right now:
http://gcc.gnu.org/onlinedocs/gcc-4.6.3/gcc/Nested-Functions.html
http://clang.llvm.org/docs/UsersManual.html#c_unimpl_gcc
With this, clang now compiles the nouveau classic driver.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44061
(Types changed from e.g. 'unsigned char' to 'GLubyte' so that the types can
be concatenated to form a unique function name without any whitespace
interfering.)
[ Francisco Jerez: give meaningful names to the dispatch functions. ]
Diffstat (limited to 'src/mesa/swrast/s_span.c')
0 files changed, 0 insertions, 0 deletions