diff options
Diffstat (limited to 'src/mesa/math')
-rw-r--r-- | src/mesa/math/m_debug_clip.c | 5 | ||||
-rw-r--r-- | src/mesa/math/m_debug_norm.c | 5 | ||||
-rw-r--r-- | src/mesa/math/m_debug_xform.c | 5 | ||||
-rw-r--r-- | src/mesa/math/m_xform.c | 2 |
4 files changed, 16 insertions, 1 deletions
diff --git a/src/mesa/math/m_debug_clip.c b/src/mesa/math/m_debug_clip.c index 867850c6137..c74ca5f7e45 100644 --- a/src/mesa/math/m_debug_clip.c +++ b/src/mesa/math/m_debug_clip.c @@ -37,6 +37,11 @@ #include "m_debug.h" #include "m_debug_util.h" +#ifdef __UNIXOS2__ +/* The linker doesn't like empty files */ +static char dummy; +#endif + #ifdef DEBUG /* This code only used for debugging */ static clip_func *clip_tab[2] = { diff --git a/src/mesa/math/m_debug_norm.c b/src/mesa/math/m_debug_norm.c index 4eac6f6dc69..e4039985502 100644 --- a/src/mesa/math/m_debug_norm.c +++ b/src/mesa/math/m_debug_norm.c @@ -38,6 +38,11 @@ #include "m_debug_util.h" +#ifdef __UNIXOS2__ +/* The linker doesn't like empty files */ +static char dummy; +#endif + #ifdef DEBUG /* This code only used for debugging */ diff --git a/src/mesa/math/m_debug_xform.c b/src/mesa/math/m_debug_xform.c index e173d14bd5d..728ee2f1efe 100644 --- a/src/mesa/math/m_debug_xform.c +++ b/src/mesa/math/m_debug_xform.c @@ -38,6 +38,11 @@ #include "m_debug.h" #include "m_debug_util.h" +#ifdef __UNIXOS2__ +/* The linker doesn't like empty files */ +static char dummy; +#endif + #ifdef DEBUG /* This code only used for debugging */ diff --git a/src/mesa/math/m_xform.c b/src/mesa/math/m_xform.c index 8bb5e623c69..c1d543b07e8 100644 --- a/src/mesa/math/m_xform.c +++ b/src/mesa/math/m_xform.c @@ -185,7 +185,7 @@ void _mesa_transform_point_sz( GLfloat Q[4], const GLfloat M[16], /* * This is called only once. It initializes several tables with pointers * to optimized transformation functions. This is where we can test for - * AMD 3Dnow! capability, Intel Katmai, etc. and hook in the right code. + * AMD 3Dnow! capability, Intel SSE, etc. and hook in the right code. */ void _math_init_transformation( void ) |