summaryrefslogtreecommitdiff
path: root/lib/xstrtod.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xstrtod.h')
-rw-r--r--lib/xstrtod.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/xstrtod.h b/lib/xstrtod.h
index 3addb8c5f..1e5ad94f5 100644
--- a/lib/xstrtod.h
+++ b/lib/xstrtod.h
@@ -1,6 +1,6 @@
/* Error-checking interface to strtod-like functions.
- Copyright (C) 1996, 1998, 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1998, 2003, 2004, 2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -25,5 +25,7 @@
bool xstrtod (const char *str, const char **ptr, double *result,
double (*convert) (char const *, char **));
+bool xstrtold (const char *str, const char **ptr, long double *result,
+ long double (*convert) (char const *, char **));
#endif /* not XSTRTOD_H */