Moved _ftol to NTDLL
authorGé van Geldorp <ge@gse.nl>
Thu, 24 Apr 2003 22:21:13 +0000 (22:21 +0000)
committerGé van Geldorp <ge@gse.nl>
Thu, 24 Apr 2003 22:21:13 +0000 (22:21 +0000)
svn path=/trunk/; revision=4574

reactos/lib/crtdll/crtdll.def
reactos/lib/crtdll/makefile
reactos/lib/crtdll/math/ftol.c [deleted file]

index 7e56082..8f67839 100644 (file)
@@ -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
index b859bb3..68e7abf 100644 (file)
@@ -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 (file)
index 1753090..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <msvcrt/float.h>
-
-long _ftol(double fl)
-{
-       return (long)fl;
-}