diff options
author | nectar <nectar@FreeBSD.org> | 2004-01-06 18:26:15 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2004-01-06 18:26:15 +0000 |
commit | c281d0e2eafa39c917ef047ce514a5594c54b94f (patch) | |
tree | f9e401de771be36d2b425999ec8f726e406ea85d /lib/libc/locale | |
parent | 9138480b09ae7b6db83e31894580eb4bdc8fb7fe (diff) | |
download | FreeBSD-src-c281d0e2eafa39c917ef047ce514a5594c54b94f.zip FreeBSD-src-c281d0e2eafa39c917ef047ce514a5594c54b94f.tar.gz |
Remove unused variables and function declarations. Add missing headers.
Diffstat (limited to 'lib/libc/locale')
-rw-r--r-- | lib/libc/locale/srune.c | 1 | ||||
-rw-r--r-- | lib/libc/locale/wcstold.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/locale/srune.c b/lib/libc/locale/srune.c index 86d40a7..073fd91 100644 --- a/lib/libc/locale/srune.c +++ b/lib/libc/locale/srune.c @@ -29,6 +29,7 @@ __FBSDID("$FreeBSD$"); #include <limits.h> #include <rune.h> +#include <string.h> #include <wchar.h> /* 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++; |