From 3f3e178cb090d89b7b100d70f9465a50dd595061 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Fri, 14 Mar 2014 15:19:56 +1100 Subject: [PATCH] src/test_seeking : Remove un-needed local__strtoull. Patch-from: lvqcl --- src/test_seeking/main.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/test_seeking/main.c b/src/test_seeking/main.c index 729d813c..c912346e 100644 --- a/src/test_seeking/main.c +++ b/src/test_seeking/main.c @@ -389,23 +389,6 @@ static FLAC__bool seek_barrage(FLAC__bool is_ogg, const char *filename, FLAC__of return true; } -#ifdef _MSC_VER -/* There's no strtoull() in MSVC6 so we just write a specialized one */ -static FLAC__uint64 local__strtoull(const char *src) -{ - FLAC__uint64 ret = 0; - int c; - FLAC__ASSERT(0 != src); - while(0 != (c = *src++)) { - c -= '0'; - if(c >= 0 && c <= 9) - ret = (ret * 10) + c; - else - break; - } - return ret; -} -#endif int main(int argc, char *argv[]) { @@ -428,11 +411,7 @@ int main(int argc, char *argv[]) if (argc > 2) count = strtoul(argv[2], 0, 10); if (argc > 3) -#ifdef _MSC_VER - samples = local__strtoull(argv[3]); -#else samples = strtoull(argv[3], 0, 10); -#endif if (argc > 4) rawfilename = argv[4];