From ec6292aa688d65f01dbb14cd111ae9d97bf1f9c0 Mon Sep 17 00:00:00 2001 From: das Date: Sun, 9 Dec 2007 21:00:12 +0000 Subject: Remove some test instrumentation. (The Symbol.map changes broke it anyway.) --- lib/libc/stdio/vfscanf.c | 4 ---- lib/libc/stdio/vfwscanf.c | 4 ---- 2 files changed, 8 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/stdio/vfscanf.c b/lib/libc/stdio/vfscanf.c index 452eb65..9d724eb 100644 --- a/lib/libc/stdio/vfscanf.c +++ b/lib/libc/stdio/vfscanf.c @@ -98,8 +98,6 @@ static const u_char *__sccl(char *, const u_char *); static int parsefloat(FILE *, char *, char *); #endif -int __scanfdebug = 0; - __weak_reference(__vfscanf, vfscanf); /* @@ -781,8 +779,6 @@ literal: float res = strtof(buf, &p); *va_arg(ap, float *) = res; } - if (__scanfdebug && p - buf != width) - abort(); nassigned++; } nread += width; diff --git a/lib/libc/stdio/vfwscanf.c b/lib/libc/stdio/vfwscanf.c index b6d97e3..8a62a8f7 100644 --- a/lib/libc/stdio/vfwscanf.c +++ b/lib/libc/stdio/vfwscanf.c @@ -99,8 +99,6 @@ __FBSDID("$FreeBSD$"); static int parsefloat(FILE *, wchar_t *, wchar_t *); #endif -extern int __scanfdebug; - #define INCCL(_c) \ (cclcompl ? (wmemchr(ccls, (_c), ccle - ccls) == NULL) : \ (wmemchr(ccls, (_c), ccle - ccls) != NULL)) @@ -705,8 +703,6 @@ literal: float res = wcstof(buf, &p); *va_arg(ap, float *) = res; } - if (__scanfdebug && p - buf != width) - abort(); nassigned++; } nread += width; -- cgit v1.1