From f4b02d1a2675d4a0699b8995a422fbd413c32301 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 5 Jan 2001 05:31:42 +0000 Subject: various compilation/warning fixes --- src/mesa/math/m_matrix.c | 5 ++++- src/mesa/math/m_xform.h | 3 +-- src/mesa/math/mathmod.h | 8 ++++++++ 3 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 src/mesa/math/mathmod.h (limited to 'src/mesa/math') diff --git a/src/mesa/math/m_matrix.c b/src/mesa/math/m_matrix.c index 0e04e7c8ab..856d0f56f2 100644 --- a/src/mesa/math/m_matrix.c +++ b/src/mesa/math/m_matrix.c @@ -1,4 +1,4 @@ -/* $Id: m_matrix.c,v 1.4 2000/11/24 10:25:11 keithw Exp $ */ +/* $Id: m_matrix.c,v 1.5 2001/01/05 05:31:42 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -34,6 +34,8 @@ * 3. Transformation of a point p by a matrix M is: p' = M * p */ +#include + #include "glheader.h" #include "macros.h" #include "mem.h" @@ -41,6 +43,7 @@ #include "m_matrix.h" + static const char *types[] = { "MATRIX_GENERAL", "MATRIX_IDENTITY", diff --git a/src/mesa/math/m_xform.h b/src/mesa/math/m_xform.h index 046fc3d937..4024949257 100644 --- a/src/mesa/math/m_xform.h +++ b/src/mesa/math/m_xform.h @@ -1,4 +1,4 @@ -/* $Id: m_xform.h,v 1.3 2000/12/26 05:09:31 keithw Exp $ */ +/* $Id: m_xform.h,v 1.4 2001/01/05 05:31:42 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -34,7 +34,6 @@ #include "glheader.h" #include "config.h" -#include "math/math.h" #include "math/m_vector.h" #include "math/m_matrix.h" diff --git a/src/mesa/math/mathmod.h b/src/mesa/math/mathmod.h new file mode 100644 index 0000000000..35091a7aae --- /dev/null +++ b/src/mesa/math/mathmod.h @@ -0,0 +1,8 @@ +#ifndef _MESA_MATH_H_ +#define _MESA_MATH_H_ + +#include + +extern void _math_init( void ); + +#endif -- cgit v1.2.3