summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/wcstold.c
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2004-01-06 18:26:15 +0000
committernectar <nectar@FreeBSD.org>2004-01-06 18:26:15 +0000
commitc281d0e2eafa39c917ef047ce514a5594c54b94f (patch)
treef9e401de771be36d2b425999ec8f726e406ea85d /lib/libc/locale/wcstold.c
parent9138480b09ae7b6db83e31894580eb4bdc8fb7fe (diff)
downloadFreeBSD-src-c281d0e2eafa39c917ef047ce514a5594c54b94f.zip
FreeBSD-src-c281d0e2eafa39c917ef047ce514a5594c54b94f.tar.gz
Remove unused variables and function declarations. Add missing headers.
Diffstat (limited to 'lib/libc/locale/wcstold.c')
-rw-r--r--lib/libc/locale/wcstold.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/locale/wcstold.c b/lib/libc/locale/wcstold.c
index 6228784..76158c1 100644
--- a/lib/libc/locale/wcstold.c
+++ b/lib/libc/locale/wcstold.c
@@ -38,9 +38,9 @@ long double
wcstold(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr)
{
long double val;
- char *buf, *end, *p;
+ char *buf, *end;
const wchar_t *wcp;
- size_t clen, len;
+ size_t len;
while (iswspace(*nptr))
nptr++;
OpenPOWER on IntegriCloud