aboutsummaryrefslogtreecommitdiffstats
path: root/src/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string.c')
-rw-r--r--src/string.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/string.c b/src/string.c
index ec608f25..e13c0c01 100644
--- a/src/string.c
+++ b/src/string.c
@@ -3,14 +3,12 @@
#include "string_utils.h"
-#include "exess/exess.h"
#include "serd/memory.h"
#include "serd/node.h"
#include "serd/status.h"
#include "serd/string.h"
#include <assert.h>
-#include <math.h>
#include <stdlib.h>
#include <string.h>
@@ -115,15 +113,3 @@ serd_strlen(const char* const str, SerdNodeFlags* const flags)
return strlen(str);
}
-
-double
-serd_strtod(const char* const str, const char** const end)
-{
- double value = (double)NAN;
- const ExessResult r = exess_read_double(&value, str);
- if (end) {
- *end = str + r.count;
- }
-
- return r.status ? (double)NAN : value;
-}