summaryrefslogtreecommitdiff
path: root/StdLib/LibC/gdtoa/Ipf/strtold.c
diff options
context:
space:
mode:
authorGuo Mang <mang.guo@intel.com>2017-08-02 09:54:47 +0800
committerGuo Mang <mang.guo@intel.com>2017-09-05 19:45:08 +0800
commit6c128c65b5ec0e5b8b5a0ccb165f3afd29e485f8 (patch)
tree444372d92a0ae8991fe4d15eb3937df43690dfda /StdLib/LibC/gdtoa/Ipf/strtold.c
parentb207c6434d7a5a4502975d322312e07017e8a8cb (diff)
downloadedk2-platforms-6c128c65b5ec0e5b8b5a0ccb165f3afd29e485f8.tar.xz
Remove core packages since we can get them from edk2 repository
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang <mang.guo@intel.com>
Diffstat (limited to 'StdLib/LibC/gdtoa/Ipf/strtold.c')
-rw-r--r--StdLib/LibC/gdtoa/Ipf/strtold.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/StdLib/LibC/gdtoa/Ipf/strtold.c b/StdLib/LibC/gdtoa/Ipf/strtold.c
deleted file mode 100644
index 0cddae36f4..0000000000
--- a/StdLib/LibC/gdtoa/Ipf/strtold.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/** @file
- Wrapper for strtold so that it just calls strtod(). This is because the IPF implementation doesn't have
- long double. (actually MS VC++ makes long double a distinct type that is identical to double.) VC++
- also doesn't support the {strong, weak}_alias feature so we actually have to have an object.
-
-**/
-#include <LibConfig.h>
-#include <sys/EfiCdefs.h>
-
-#include "namespace.h"
-#include "../gdtoaimp.h"
-#include "../gdtoa.h"
-
-long double
-strtold(const char * __restrict nptr, char ** __restrict endptr)
-{
- return (long double)strtod( nptr, endptr);
-}