fixed compiling issues with gcc 3.4

svn path=/trunk/; revision=9347
This commit is contained in:
Thomas Bluemel 2004-05-10 13:35:28 +00:00
parent 32478ebba8
commit 23dcd0a6f2

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: bezier.c,v 1.6 2004/03/27 00:35:02 weiden Exp $ */
/* $Id: bezier.c,v 1.7 2004/05/10 13:35:28 weiden Exp $ */
#include <windows.h>
#include <ddk/ntddk.h>
#include <math.h>
@ -65,14 +65,6 @@
(Mid).x=((P1).x+(P2).x + 1) >> 1;\
(Mid).y=((P1).y+(P2).y + 1) >> 1;
static int abs ( int __x )
{
if ( __x < 0 )
return -__x;
else
return __x;
}
/**********************************************************
* BezierCheck helper function to check
* that recursion can be terminated