mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
fixed compiling issues with gcc 3.4
svn path=/trunk/; revision=9347
This commit is contained in:
parent
32478ebba8
commit
23dcd0a6f2
1 changed files with 1 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue