From 6aa450d7d9ba2ca542065f325fcb642474b25bdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Thu, 24 Apr 2003 22:21:13 +0000 Subject: [PATCH] Moved _ftol to NTDLL svn path=/trunk/; revision=4574 --- reactos/lib/crtdll/crtdll.def | 8 ++++---- reactos/lib/crtdll/makefile | 3 +-- reactos/lib/crtdll/math/ftol.c | 6 ------ 3 files changed, 5 insertions(+), 12 deletions(-) delete mode 100644 reactos/lib/crtdll/math/ftol.c diff --git a/reactos/lib/crtdll/crtdll.def b/reactos/lib/crtdll/crtdll.def index 7e560824c8c..8f678397e93 100644 --- a/reactos/lib/crtdll/crtdll.def +++ b/reactos/lib/crtdll/crtdll.def @@ -19,9 +19,9 @@ ; DISCLAMED. This includes but is not limited to warrenties of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ; -; $Revision: 1.14 $ -; $Author: ea $ -; $Date: 2000/12/22 23:20:15 $ +; $Revision: 1.15 $ +; $Author: gvg $ +; $Date: 2003/04/24 22:21:13 $ ; ; These three functions appear to be name mangled in some way, so GCC is ; probably not going to be able to use them in any case. @@ -151,7 +151,7 @@ _fputwchar _fsopen _fstat _ftime -_ftol +_ftol=NTDLL._ftol _fullpath _futime _gcvt diff --git a/reactos/lib/crtdll/makefile b/reactos/lib/crtdll/makefile index b859bb3e2f7..68e7abf665d 100644 --- a/reactos/lib/crtdll/makefile +++ b/reactos/lib/crtdll/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.53 2003/04/06 13:10:21 gvg Exp $ +# $Id: makefile,v 1.54 2003/04/24 22:21:13 gvg Exp $ PATH_TO_TOP = ../.. @@ -161,7 +161,6 @@ MATH_OBJECTS = \ math/floor.o \ $(PATH_TO_MSVCRT)/math/fmod.o \ $(PATH_TO_MSVCRT)/math/frexp.o \ - $(PATH_TO_MSVCRT)/math/ftol.o \ math/huge_val.o \ $(PATH_TO_MSVCRT)/math/hypot.o \ $(PATH_TO_MSVCRT)/math/j0_y0.o \ diff --git a/reactos/lib/crtdll/math/ftol.c b/reactos/lib/crtdll/math/ftol.c deleted file mode 100644 index 17530906fe5..00000000000 --- a/reactos/lib/crtdll/math/ftol.c +++ /dev/null @@ -1,6 +0,0 @@ -#include - -long _ftol(double fl) -{ - return (long)fl; -}